<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
            <title>ScriptBind_AI - Doc 5. Scripting Manual - CryENGINE 3 Free SDK</title>
    
        

                        
    
    
            
<meta id="confluence-context-path" name="confluence-context-path" content="">
<meta id="atlassian-token" name="atlassian-token" content="Tge1w3PsgP">
<meta id="confluence-space-key" name="confluence-space-key" content="SDKDOC5">

<script type="text/javascript">
    // Deprecated global variables. To be removed in a future version of Confluence.
    var contextPath = '';
    var i18n = [];
</script>

    

<!-- include system resources -->
<link type="text/css" rel="stylesheet" href="/s/1634/2/1.0/_/download/batch/confluence.web.resources:master-styles/confluence.web.resources:master-styles.css" media="all"/>
<!--[if IE]>
<link type="text/css" rel="stylesheet" href="/s/1634/2/1.0/_/download/batch/confluence.web.resources:master-styles/confluence.web.resources:master-styles.css?ieonly=true" media="all"/>
<![endif]-->
<script type="text/javascript" src="/s/1634/2/1.0.2/_/download/batch/com.atlassian.auiplugin:jquery/com.atlassian.auiplugin:jquery.js" ></script>
<script type="text/javascript" src="/s/1634/2/1.0.2/_/download/batch/com.atlassian.auiplugin:jquery-base/com.atlassian.auiplugin:jquery-base.js" ></script>
<script type="text/javascript" src="/s/1634/2/1.0.2/_/download/batch/com.atlassian.auiplugin:ajs/com.atlassian.auiplugin:ajs.js" ></script>
<link type="text/css" rel="stylesheet" href="/s/1634/2/1.0/_/download/batch/confluence.macros.profile:network-resources-css/confluence.macros.profile:network-resources-css.css" media="all"/>
<link type="text/css" rel="stylesheet" href="/s/1634/2/1.0/_/download/batch/confluence.macros.profile:profile-macro-styles/confluence.macros.profile:profile-macro-styles.css" media="all"/>
<!--[if IE]>
<link type="text/css" rel="stylesheet" href="/s/1634/2/1.0/_/download/batch/confluence.macros.profile:profile-macro-styles/confluence.macros.profile:profile-macro-styles.css?ieonly=true" media="all"/>
<![endif]-->
<script type="text/javascript" src="/s/1634/2/1.0/_/download/batch/confluence.macros.profile:profile-macro-styles/confluence.macros.profile:profile-macro-styles.js" ></script>
<link type="text/css" rel="stylesheet" href="/s/1634/2/1.6.2.8/_/download/batch/confluence.macros.advanced:recently-updated-sidebar-resources/confluence.macros.advanced:recently-updated-sidebar-resources.css" media="all"/>
<script type="text/javascript" src="/s/1634/2/1.5/_/download/batch/com.atlassian.confluence.extra.officeconnector:editinoffice/com.atlassian.confluence.extra.officeconnector:editinoffice.js" ></script>
<script type="text/javascript" src="/s/1634/2/1.0/_/download/batch/confluence.web.resources:image-effects/confluence.web.resources:image-effects.js" ></script>
<script type="text/javascript" src="/s/1634/2/1.11/_/download/batch/com.atlassian.confluence.plugins.pagetree:pagetree-resources/com.atlassian.confluence.plugins.pagetree:pagetree-resources.js" ></script>
<script type="text/javascript" src="/s/1634/2/1.0/_/download/batch/confluence.web.resources:prototype/confluence.web.resources:prototype.js" ></script>
<script type="text/javascript" src="/s/1634/2/1.0/_/download/batch/confluence.web.resources:scriptaculous/confluence.web.resources:scriptaculous.js" ></script>
<script type="text/javascript" src="/s/1634/2/1.0/_/download/resources/confluence.web.resources:dwr/engine.js" ></script>
<script type="text/javascript" src="/s/1634/2/1.0/_/download/resources/confluence.web.resources:dwr/util.js" ></script>
<script type="text/javascript" src="/s/1634/2/1.0/_/download/resources/confluence.web.resources:labels-editor/AddLabeltoEntity.js" ></script>
<script type="text/javascript" src="/s/1634/2/1.0/_/download/resources/confluence.web.resources:labels-editor/RemoveLabelFromEntity.js" ></script>
<script type="text/javascript" src="/s/1634/2/1.0/_/download/resources/confluence.web.resources:labels-editor/SuggestedLabelsForEntity.js" ></script>
<script type="text/javascript" src="/s/1634/2/1.0/_/download/resources/confluence.web.resources:labels-editor/GenerateAutocompleteLabelsListForEntity.js" ></script>
<script type="text/javascript" src="/s/1634/2/1.0/_/download/batch/confluence.web.resources:labels-editor/confluence.web.resources:labels-editor.js" ></script>
<link type="text/css" rel="stylesheet" href="/s/1634/2/1.0/_/download/batch/confluence.web.resources:labels-editor/confluence.web.resources:labels-editor.css" media="all"/>
<script type="text/javascript" src="/s/1634/2/1.0/_/download/batch/confluence.web.resources:animation/confluence.web.resources:animation.js" ></script>
<script type="text/javascript" src="/s/1634/2/1.0/_/download/batch/confluence.web.resources:comments/confluence.web.resources:comments.js" ></script>
<link type="text/css" rel="stylesheet" href="/s/1634/2/1.0/_/download/batch/confluence.web.resources:comments/confluence.web.resources:comments.css" media="all"/>
<!--[if IE]>
<link type="text/css" rel="stylesheet" href="/s/1634/2/1.0/_/download/batch/confluence.web.resources:comments/confluence.web.resources:comments.css?ieonly=true" media="all"/>
<![endif]-->
<script type="text/javascript" src="/s/1634/2/1.0/_/download/batch/confluence.web.resources:breadcrumbs/confluence.web.resources:breadcrumbs.js" ></script>
<link type="text/css" rel="stylesheet" href="/s/1634/2/1.0/_/download/batch/confluence.web.resources:print-styles/confluence.web.resources:print-styles.css?media=print" media="print"/>
<script type="text/javascript" src="/s/1634/2/1.0/_/download/batch/confluence.web.resources:safe-ajax/confluence.web.resources:safe-ajax.js" ></script>
<script type="text/javascript" src="/s/1634/2/1.0.2/_/download/batch/com.atlassian.auiplugin:dialog/com.atlassian.auiplugin:dialog.js" ></script>
<link type="text/css" rel="stylesheet" href="/s/1634/2/1.0.2/_/download/batch/com.atlassian.auiplugin:dialog/com.atlassian.auiplugin:dialog.css" media="all"/>
<!--[if IE]>
<link type="text/css" rel="stylesheet" href="/s/1634/2/1.0.2/_/download/batch/com.atlassian.auiplugin:dialog/com.atlassian.auiplugin:dialog.css?ieonly=true" media="all"/>
<![endif]-->
<script type="text/javascript" src="/s/1634/2/1.0/_/download/batch/confluence.userstatus:userstatus-resources/confluence.userstatus:userstatus-resources.js" ></script>
<link type="text/css" rel="stylesheet" href="/s/1634/2/1.0/_/download/batch/confluence.userstatus:userstatus-resources/confluence.userstatus:userstatus-resources.css" media="all"/>
<script type="text/javascript" src="/s/1634/2/1.0/_/download/batch/confluence.web.resources:master-scripts/confluence.web.resources:master-scripts.js" ></script>
<script type="text/javascript" src="/s/1634/2/1.0/_/download/resources/confluence.web.resources:master-scripts/PageNotification.js" ></script>
<script type="text/javascript" src="/s/1634/2/1.0/_/download/batch/confluence.web.resources:contentnamesearch/confluence.web.resources:contentnamesearch.js" ></script>
<link type="text/css" rel="stylesheet" href="/s/1634/2/1.0/_/download/batch/confluence.web.resources:contentnamesearch/confluence.web.resources:contentnamesearch.css" media="all"/>
<script type="text/javascript" src="/s/1634/2/1.0/_/download/batch/confluence.web.resources:userlink/confluence.web.resources:userlink.js" ></script>
<link type="text/css" rel="stylesheet" href="/s/1634/2/1.0/_/download/batch/confluence.web.resources:userlink/confluence.web.resources:userlink.css" media="all"/>
<!--[if IE]>
<link type="text/css" rel="stylesheet" href="/s/1634/2/1.0/_/download/batch/confluence.web.resources:userlink/confluence.web.resources:userlink.css?ieonly=true" media="all"/>
<![endif]-->
<script type="text/javascript" src="/s/1634/2/1.0.2/_/download/batch/com.atlassian.auiplugin:drop-down/com.atlassian.auiplugin:drop-down.js" ></script>
<link type="text/css" rel="stylesheet" href="/s/1634/2/1.0.2/_/download/batch/com.atlassian.auiplugin:drop-down/com.atlassian.auiplugin:drop-down.css" media="all"/>
<script type="text/javascript" src="/s/1634/2/1.0/_/download/batch/confluence.web.resources:atlassian-effects/confluence.web.resources:atlassian-effects.js" ></script>

<!-- end system resources -->

    <link rel="stylesheet" href="/s/1634/2/3/_/styles/combined.css?spaceKey=SDKDOC5" type="text/css">

    <meta name="confluence-request-time" content="1352906924715">

    <link rel="shortcut icon" href="/favicon.ico">
    <link rel="icon" type="image/png" href="/s/1634/2/_/images/logo/confluence_16.png">

<link rel="search" type="application/opensearchdescription+xml" href="/opensearch/osd.action" title="CryENGINE 3 Free SDK"/>

    
</head>

<body             onload="placeFocus()"
     id="com-atlassian-confluence">



<fieldset class="hidden parameters">
    <input type="hidden" id="statusDialogHeading" value="What are you working on?">
    <input type="hidden" id="statusDialogLatestLabel" value="Last update:">
    <input type="hidden" id="statusDialogUpdateButtonLabel" value="Update">
    <input type="hidden" id="statusDialogCancelButtonLabel" value="Cancel">
</fieldset>

    
<div id="header">
        <form id="quick-search" class="quick-search" method="get" action="/dosearchsite.action">
                <fieldset>
            <legend>Quick Search</legend>
            <input class="quick-search-query" id="quick-search-query" type="text" accessKey="q" autocomplete="off" name="queryString" size="25" />
            <input class="quick-search-submit" id="quick-search-submit" type="submit" value="Search" />
        </fieldset>
        <fieldset class="hidden parameters">
            <input type="hidden" class="quickSearchPlaceholder" id="quickSearchPlaceholder" value="Search" />

            <input type="hidden" id="quickNavEnabled" value="true" />
             <!-- Quick nav disabled. SettingsManager could not be found -->         </fieldset>
    </form>
    <ul id="header-menu-bar" class="ajs-menu-bar">
                    
        
            <li class="normal ajs-menu-item">
        <a id="browse-menu-link" class="browse trigger ajs-menu-title" href="#"><span><span>Browse</span></span></a>         <div class="hidden ajs-drop-down">
                        <ul  id="browse-menu-link-leading"                 class="section-leading first">
                                        <li>
    
    <a  id="space-pages-link"  href="/pages/listpages.action?key=SDKDOC5"  class=""   title="Attachments: 1">
                   <span>Pages</span>            </a>
</li>
                                        <li>
    
    <a  id="space-blogposts-link"  href="/pages/viewrecentblogposts.action?key=SDKDOC5"  class=""   title="Attachments: 1">
                   <span>News</span>            </a>
</li>
                                        <li>
    
    <a  id="space-labels-link"  href="/labels/listlabels-heatmap.action?key=SDKDOC5"  class=""   title="Attachments: 1">
                   <span>Labels</span>            </a>
</li>
                                        <li>
    
    <a  id="space-attachments-link"  href="/spaces/listattachmentsforspace.action?key=SDKDOC5"  class=""   title="Attachments: 1">
                   <span>Attachments</span>            </a>
</li>
                                        <li>
    
    <a   href="/spaces/space-bookmarks.action?spaceKey=SDKDOC5"  class=""   title="Attachments: 1">
                   <span>Bookmarks</span>            </a>
</li>
                                        <li>
    
    <a  id="space-mail-link"  href="/spaces/viewmailarchive.action?key=SDKDOC5"  class=""   title="Attachments: 1">
                   <span>Mail</span>            </a>
</li>
                                        <li>
    
    <a  id="space-advanced-link"  href="/spaces/viewspacesummary.action?key=SDKDOC5"  class=""   title="Attachments: 1">
                   <span>Advanced</span>            </a>
</li>
                            </ul>
                    </div>
    </li>
        
                                                         <li class="ajs-menu-item normal">
    
    <a  id="login-link"  href="/login.action?os_destination=%2Fdisplay%2FSDKDOC5%2FScriptBind_AI"  class="user-item login-link"  >
                   <span>Log In</span>            </a>
</li>
                            </ul>
    
    
    <ol id="breadcrumbs">
                    
        <li class="first" ><span>
                                    <a href="/dashboard.action">Dashboard</a>
                </span></li>
                    
        <li><span>
                                    <a href="/display/SDKDOC5">Doc 5. Scripting Manual</a>
                </span></li>
                                        <li id="ellipsis" title="    &#8230;
                    Home
             &gt;         ScriptBind Reference
        &#8230;
"><span><strong>&#8230;</strong></span></li>
                                    
        <li class="hidden-crumb" ><span>
                                    <a href="/display/SDKDOC5/Home">Home</a>
                </span></li>
                                
        <li class="hidden-crumb" ><span>
                                    <a href="/display/SDKDOC5/ScriptBind+Reference">ScriptBind Reference</a>
                </span></li>
                    
        <li><span>
                                    <a href="/display/SDKDOC5/CryENGINE+Functions">CryENGINE Functions</a>
                </span></li>
                    
        <li><span>
                                    ScriptBind_AI
                </span></li>
        </ol>

</div>
<div id="main"  >
    
                <ul id="user-control-panel">
                                
            <li class="first"><a href="/login.action?os_destination=%2Fdisplay%2FSDKDOC5%2FScriptBind_AI">Log In</a></li>

                                                        </ul>
          
    <div id="navigation" class="content-navigation view">
        <fieldset class="hidden parameters">
            <input type="hidden" id="pageId" value="131693">
        </fieldset>
        <ul class="ajs-menu-bar">
                                
                        
            <li class="normal ajs-menu-item">
        <a id="action-menu-link" class="action trigger ajs-menu-title" href="#"><span><span>Tools</span></span></a>         <div class="hidden ajs-drop-down">
                        <ul  id="action-menu-link-primary"                 class="section-primary first">
                                        <li>
    
    <a  id="view-attachments-link"  href="/pages/viewpageattachments.action?pageId=131693"  class="action-view-attachments"  accessKey="a" >
                   <span><u>A</u>ttachments (1)</span>            </a>
</li>
                            </ul>
                        <ul  id="action-menu-link-secondary"                 class="section-secondary">
                                        <li>
    
    <a  id="view-page-info-link"  href="/pages/viewinfo.action?pageId=131693"  class="action-view-info"  accessKey="i" >
                   <span><u>I</u>nfo</span>            </a>
</li>
                                        <li>
    
    <a  id="action-view-source-link"  href="/pages/viewpagesrc.action?pageId=131693"  class="action-view-source popup-link"  >
                   <span>View Wiki Markup</span>            </a>
</li>
                            </ul>
                    </div>
    </li>
            </ul>
    </div>

    
    <h1 id="title-heading" class="pagetitle">
                    <a href="/display/SDKDOC5"><img class="logo global custom" src="/download/attachments/131074/global.logo?version=2&amp;modificationDate=1318523100000" alt=""></a>        
		<span id="title-text">
					            <a href="/display/SDKDOC5/ScriptBind_AI">ScriptBind_AI</a>
    				</span>
    </h1>

    

    
    
    
    <!--
    Root decorator: this is a layer of abstraction that Confluence doesn't need. It will be removed eventually.
-->




    
    

    
    
        
    
    
                    
    

    


<div id="content" class="page view">
    
        
    
                                
    

                    

        
      
<script src="/home/confluence/includes/js/jquery/jquery.ui-1.5a/jquery.js"></script>
<script src="/home/confluence/includes/js/jquery/jquery.ui-1.5a/jquery.dimensions.js"></script>
<script src="/home/confluence/includes/js/jquery/jquery.ui-1.5a/ui.mouse.js"></script>
<script src="/home/confluence/includes/js/jquery/jquery.ui-1.5a/ui.resizable.js"></script>

<style>
.spacetree * ul{
  padding-left:0px;
  margin-left: 0px;
}
.spacetree * li{
  margin-left: 5px;
  margin-right: 5px;
  padding-left:5px;
}
div.spacetree {
  overflow: hidden;
}
.spacetree * li a {
  white-space:nowrap;
}
.spacetree * li {
  white-space:nowrap;
}
.ui-resizable-handle.ui-resizable-e {
  background-color: #DDDDDD !important;
  width: 2px !important;
}
div.resizable {
  overflow: hidden;
  min-height: 400px;
}
</style>

<script>
AJS.toInit(function () {
  var setNavHeight = function() {
    jQuery("div.resizable").height(jQuery("td.treenav").height()-10);
  };
  jQuery("div.resizable").resizable({
    handles: "e",
    resize: setNavHeight
  });
  setNavHeight();

  jQuery(".wiki-content img[title]").each(function(index, domElement) {
    jQuery(domElement).after("<br/><b>Figure: " + jQuery(domElement).attr("title") + "<b>");
  })
});
</script>

<table cellspacing="2">
<tr>
<td valign="top" align="left" bgcolor="#F9F9F9" class="noprint treenav">
<div class="resizable" style="padding: 5px;">
<div class="tabletitle">Table of Contents</div>
<div class="spacetree">
                                            
    

<div class="plugin_pagetree">

                <div id="pagetreesearch">
            <form method="POST" action="/plugins/pagetreesearch/pagetreesearch.action" name="pagetreesearchform">
                                    <input type="hidden" name="ancestorId" value="131084">
                                <input type="hidden" name="spaceKey" value="SDKDOC5">
                <input type="text"  size="20" name="queryString"/>
                <input type="submit" value="Search"/>
            </form>
        </div>
    
        
    <ul style="list-style-type: none; margin-left: 0; padding-left: 0">
        <div class="plugin_pagetree_children">
        </div>
    </ul>

    <fieldset class="hidden">
        <input type="hidden" name="treeId" value=""/>
        <input type="hidden" name="treeRequestId" value="/plugins/pagetree/naturalchildren.action?decorator=none&amp;excerpt=false&amp;sort=position&amp;reverse=false&amp;disableLinks=false" />
        <input type="hidden" name="treePageId" value="131693" />

        <input type="hidden" name="noRoot" value="false"/>
        <input type="hidden" name="rootPageId" value="131084"/>

        <input type="hidden" name="rootPage" value=""/>
        <input type="hidden" name="startDepth" value="0" />
        <input type="hidden" name="spaceKey" value="SDKDOC5" />

        <input type="hidden" name="i18n-pagetree.loading" value="Loading..."/>
        <input type="hidden" name="loginUrl" value="/login.action?os_destination=%2Fdisplay%2FSDKDOC5%2FScriptBind_AI"/>

                <fieldset class="hidden">
                                                <input type="hidden" name="ancestorId" value="131692" />
                                    <input type="hidden" name="ancestorId" value="131691" />
                                    <input type="hidden" name="ancestorId" value="131084" />
                                    </fieldset>
    </fieldset>
</div>



<hr />

<p><a href="/display/SDKDOC8/Home" title="Home">CryENGINE Doc Home</a><br/>
<a href="/display/SDKDOC2/Home" title="Home">Sandbox Manual</a><br/>
<a href="/display/SDKDOC3/Home" title="Home">Asset Creation Guide</a><br/>
<a href="/display/SDKDOC4/Home" title="Home">Programming Guide</a><br/>
 <b>&gt;<a href="/display/SDKDOC5/Home" title="Home">Scripting Manual</a></b></p>

<p><em><a href="/display/CRYAUTOGEN/Home" title="Home">Console Commands and Variables</a></em></p>
                        </div>
</div>
</td>
<td valign="top" align="left" width="1280" class="pagecontent" style="padding: 5px">
<div class="wiki-content">
<!-- wiki content -->
            <MCE:STYLE><#comment></#comment></MCE:STYLE>
<STYLE mce_bogus="1">.Element5 {
    color: #000000;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 14pt;
    font-style: normal;
    text-decoration: none;
    margin-left : 15px;
    margin-right : 15px;
    margin-top : 0px;
    margin-bottom : 9px;
    text-align : left;
}
.Element11 {
    color: #000000;
    margin-left : 15px;
    margin-top : 10px;
    text-align : left;
}
.Element10 {
    color: #000000;
    font-family: Verdana,Arial,Helvetica,sans-serif;
    font-size: 8pt;
    font-style: normal;
    text-decoration: none;
    margin-top : 10px;
    margin-bottom : 10px;
    text-align : left;
}
.Element212 {
    color: #000000;
    font-style: normal;
    text-decoration: none;
    margin-left : 0px;
    margin-top : 10px;
    margin-bottom : 10px;
    text-align : left;
}
.Table0 {
    width: 100%;
    font-size: 8pt;
}
.Element200 {
    color: #000000;
    background-color: #EFEFF7;
    padding-left : 6px;
    border-left-width : 2px;
    border-left-color : #FFFFFF;
    border-left-style : solid;
    padding-top : 5px;
    border-top-width : 2px;
    border-top-color : #FFFFFF;
    border-top-style : solid;
    padding-right : 6px;
    border-right-style : none;
    padding-bottom : 5px;
    border-bottom-width : 1px;
    border-bottom-color : #C8CDDE;
    border-bottom-style : solid;
    text-align : left;
}
.Element204 {
    color: #000000;
    background-color: #EFEFF7;
    padding-left : 6px;
    border-left-width : 2px;
    border-left-color : #FFFFFF;
    border-left-style : solid;
    padding-top : 5px;
    border-top-width : 2px;
    border-top-color : #FFFFFF;
    border-top-style : solid;
    padding-right : 6px;
    border-right-style : none;
    padding-bottom : 5px;
    border-bottom-width : 1px;
    border-bottom-color : #C8CDDE;
    border-bottom-style : solid;
    text-align : left;
}
.Element202 {
    color: #000000;
    background-color: #F7F7FF;
    margin-top : 0px;
    margin-bottom : 0px;
    padding-left : 6px;
    border-left-width : 2px;
    border-left-color : #FFFFFF;
    border-left-style : solid;
    padding-top : 5px;
    border-top-width : 2px;
    border-top-color : #FFFFFF;
    border-top-style : solid;
    padding-right : 6px;
    border-right-style : none;
    padding-bottom : 5px;
    border-bottom-width : 1px;
    border-bottom-color : #C8CDDE;
    border-bottom-style : solid;
    text-align : left;
}
.Element206 {
    color: #000000;
    background-color: #F7F7FF;
    margin-top : 0px;
    margin-bottom : 0px;
    padding-left : 6px;
    border-left-width : 2px;
    border-left-color : #FFFFFF;
    border-left-style : solid;
    padding-top : 5px;
    border-top-width : 2px;
    border-top-color : #FFFFFF;
    border-top-style : solid;
    padding-right : 6px;
    border-right-style : none;
    padding-bottom : 5px;
    border-bottom-width : 1px;
    border-bottom-color : #C8CDDE;
    border-bottom-style : solid;
    text-align : left;
}
.Element203 {
    color: #000000;
    font-style: normal;
    text-decoration: none;
    margin-top : 3px;
    margin-bottom : 3px;
    text-align : left;
}
.Element207 {
    color: #000000;
    font-style: normal;
    text-decoration: none;
    margin-top : 3px;
    margin-bottom : 3px;
    text-align : left;
}
.Element58 {
    color: #000000;
    font-family: Verdana,Arial,Helvetica,sans-serif;
    font-size: 8pt;
    font-style: normal;
    text-decoration: none;
    margin-left : 15px;
    margin-right : 15px;
    margin-top : 3px;
    margin-bottom : 3px;
    text-align : left;
}
.Element100 {
    color: #000000;
    font-family: Courier New,Courier,monospace;
    font-size: 9pt;
    font-style: normal;
    text-decoration: none;
    text-align : left;
    white-space: pre;
}
.Element14 {
    color: #000000;
    font-family: Verdana,Arial,Helvetica,sans-serif;
    font-size: 11pt;
    font-weight: bold;
    font-style: normal;
    text-decoration: none;
    margin-top : 20px;
    margin-bottom : 20px;
    text-align : left;
}
.TableDiv {
    width: 100%;
}
.Table1 {
    width: 100%;
    font-size: 8pt;
}
.Element240 {
    color: #000000;
    background-color: #EFEFF7;
    padding-left : 6px;
    border-left-width : 2px;
    border-left-color : #FFFFFF;
    border-left-style : solid;
    padding-top : 5px;
    border-top-width : 2px;
    border-top-color : #FFFFFF;
    border-top-style : solid;
    padding-right : 6px;
    border-right-style : none;
    padding-bottom : 5px;
    border-bottom-width : 1px;
    border-bottom-color : #C8CDDE;
    border-bottom-style : solid;
    text-align : left;
}
.Element244 {
    color: #000000;
    background-color: #EFEFF7;
    padding-left : 6px;
    border-left-width : 2px;
    border-left-color : #FFFFFF;
    border-left-style : solid;
    padding-top : 5px;
    border-top-width : 2px;
    border-top-color : #FFFFFF;
    border-top-style : solid;
    padding-right : 6px;
    border-right-style : none;
    padding-bottom : 5px;
    border-bottom-width : 1px;
    border-bottom-color : #C8CDDE;
    border-bottom-style : solid;
    text-align : left;
}
.Element242 {
    color: #000000;
    background-color: #F7F7FF;
    margin-top : 0px;
    margin-bottom : 0px;
    padding-left : 6px;
    border-left-width : 2px;
    border-left-color : #FFFFFF;
    border-left-style : solid;
    padding-top : 5px;
    border-top-width : 2px;
    border-top-color : #FFFFFF;
    border-top-style : solid;
    padding-right : 6px;
    border-right-style : none;
    padding-bottom : 5px;
    border-bottom-width : 1px;
    border-bottom-color : #C8CDDE;
    border-bottom-style : solid;
    text-align : left;
}
.Element246 {
    color: #000000;
    background-color: #F7F7FF;
    margin-top : 0px;
    margin-bottom : 0px;
    padding-left : 6px;
    border-left-width : 2px;
    border-left-color : #FFFFFF;
    border-left-style : solid;
    padding-top : 5px;
    border-top-width : 2px;
    border-top-color : #FFFFFF;
    border-top-style : solid;
    padding-right : 6px;
    border-right-style : none;
    padding-bottom : 5px;
    border-bottom-width : 1px;
    border-bottom-color : #C8CDDE;
    border-bottom-style : solid;
    text-align : left;
}
.Element101 {
    color: #000000;
    background-color: #F7F7FF;
    margin-left : 15px;
    margin-top : 0px;
    margin-bottom : 10px;
    padding-left : 6px;
    border-left-width : 2px;
    border-left-color : #FFFFFF;
    border-left-style : solid;
    padding-top : 5px;
    border-top-width : 2px;
    border-top-color : #FFFFFF;
    border-top-style : solid;
    padding-right : 6px;
    border-right-style : none;
    padding-bottom : 5px;
    border-bottom-width : 1px;
    border-bottom-color : #C8CDDE;
    border-bottom-style : solid;
    text-align : left;
    white-space: pre;
}
.Element241 {
    color: #000066;
    background-color: #EFEFF7;
    font-weight: bold;
    font-style: normal;
    text-decoration: none;
    margin-left : 0px;
    text-align : left;
}
.Element243 {
    color: #000000;
    font-style: normal;
    text-decoration: none;
    margin-top : 3px;
    margin-bottom : 3px;
    text-align : left;
}
.Element247 {
    color: #000000;
    font-style: normal;
    text-decoration: none;
    margin-top : 3px;
    margin-bottom : 3px;
    text-align : left;
}
.Element245 {
    color: #000066;
    background-color: #EFEFF7;
    font-weight: bold;
    font-style: normal;
    text-decoration: none;
    margin-left : 0px;
    text-align : left;
}
.Element252 {
    color: #000000;
    font-style: normal;
    text-decoration: none;
    margin-left : 0px;
    margin-top : 10px;
    margin-bottom : 10px;
    text-align : left;
}
.Element63 {
    color: #000000;
    font-style: normal;
    text-decoration: none;
    margin-left : 15px;
    margin-top : 10px;
    margin-bottom : 10px;
    text-align : left;
}
.Element65 {
    color: #000000;
    background-color: #EFEFF7;
    padding-left : 6px;
    border-left-width : 2px;
    border-left-color : #FFFFFF;
    border-left-style : solid;
    padding-top : 5px;
    border-top-width : 2px;
    border-top-color : #FFFFFF;
    border-top-style : solid;
    padding-right : 6px;
    border-right-style : none;
    padding-bottom : 5px;
    border-bottom-width : 1px;
    border-bottom-color : #C8CDDE;
    border-bottom-style : solid;
    text-align : left;
}
.Element66 {
    color: #000066;
    background-color: #EFEFF7;
    font-weight: bold;
    font-style: normal;
    text-decoration: none;
    margin-left : 0px;
    text-align : left;
}
.Element68 {
    color: #000000;
    font-style: normal;
    text-decoration: none;
    text-align : left;
}
.Element67 {
    color: #000000;
    background-color: #F7F7FF;
    padding-left : 6px;
    border-left-width : 2px;
    border-left-color : #FFFFFF;
    border-left-style : solid;
    padding-top : 5px;
    border-top-width : 2px;
    border-top-color : #FFFFFF;
    border-top-style : solid;
    padding-right : 6px;
    border-right-style : none;
    padding-bottom : 5px;
    border-bottom-width : 1px;
    border-bottom-color : #C8CDDE;
    border-bottom-style : solid;
    text-align : left;
}
.Element600 {
    color: #000000;
    font-style: normal;
    text-decoration: none;
    text-align : left;
}
.Element630 {
    color: #000000;
    margin-top : 10px;
    margin-bottom : 10px;
    text-align : left;
}</STYLE>

<DIV class="Element5">CScriptBind_AI Methods</DIV>
<DIV class="Element58"><A name="53756D6D617279"></A>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">The methods of the CScriptBind_AI class are listed here.</P></DIV></DIV><A name="4D6574686F6473"></A>
<DIV class="Element14">Methods</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element212">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table0">
<TBODY>
<TR>
<TD class="Element200" valign="top" width="40%">
<DIV class="Element201">Method </DIV></TD>
<TD class="Element204" valign="top" width="60%">
<DIV class="Element205">Description </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__AbortAction@IFunctionHandler__" mce_href="#CScriptBind_AI__AbortAction@IFunctionHandler__">AbortAction</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Aborts execution of an action if actionId is specified or aborts execution of all actions if actionId is nil or 0 </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__AddAggressiveTarget@IFunctionHandler__" mce_href="#CScriptBind_AI__AddAggressiveTarget@IFunctionHandler__">AddAggressiveTarget</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Add the target Id as an aggressive potential target to the entity's list </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__AddCombatClass@IFunctionHandler__" mce_href="#CScriptBind_AI__AddCombatClass@IFunctionHandler__">AddCombatClass</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Creates new combat class </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__AddFormationPoint@IFunctionHandler__" mce_href="#CScriptBind_AI__AddFormationPoint@IFunctionHandler__">AddFormationPoint</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Adds a follow-type node to a formation descriptor </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__AddFormationPointFixed@IFunctionHandler__" mce_href="#CScriptBind_AI__AddFormationPointFixed@IFunctionHandler__">AddFormationPointFixed</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Adds a node with a fixed offset to a formation descriptor </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__AddPatternBranch@IFunctionHandler__" mce_href="#CScriptBind_AI__AddPatternBranch@IFunctionHandler__">AddPatternBranch</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Creates a branch pattern at the specified node. When the entity has approached the specified node (nodeName), and it is time to choose a new point, the rules defined by this function will be used to select the new point. This function allows to associate multiple target points and an evaluation rule. </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__AddPatternNode@IFunctionHandler__" mce_href="#CScriptBind_AI__AddPatternNode@IFunctionHandler__">AddPatternNode</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Adds point to the track pattern. When validating the points test is made from the start position to the end position. Start position is either the pattern origin or in case the parent is provided, the parent position. The end position is either relative offset from the start position or offset from the pattern origin, this is chosen based on the node flag. The offset is clamped to the physical world based on the test method. The points will be evaluated in the same oder they are added to the descriptor, and hte system does not try to correct the... <A href="http://confluence/#CScriptBind_AI__AddPatternNode@IFunctionHandler__" mce_href="#CScriptBind_AI__AddPatternNode@IFunctionHandler__">more</A> </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__AgentLookAtPos@IFunctionHandler__" mce_href="#CScriptBind_AI__AgentLookAtPos@IFunctionHandler__">AgentLookAtPos</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Makes the entityId look at certain position </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#!!OVERLOADED_AssignPFPropertiesToPathType_CScriptBind_AI" mce_href="#!!OVERLOADED_AssignPFPropertiesToPathType_CScriptBind_AI">AssignPFPropertiesToPathType</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">This is the overview for the AssignPFPropertiesToPathType method overload. </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__BeginGoalPipe@IFunctionHandler__" mce_href="#CScriptBind_AI__BeginGoalPipe@IFunctionHandler__">BeginGoalPipe</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Creates a goal pipe and allows to start filling it. </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__BeginGroup@IFunctionHandler__" mce_href="#CScriptBind_AI__BeginGroup@IFunctionHandler__">BeginGroup</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">to define group of goals </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__BeginTrackPattern@IFunctionHandler__" mce_href="#CScriptBind_AI__BeginTrackPattern@IFunctionHandler__">BeginTrackPattern</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Begins definition of a new track pattern descriptor. The pattern is created bu calling the AI.AddPatternPoint() and AI.AddPatternBranch() functions, and finalised by calling the AI.EndTrackPattern(). </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__CanFireInStance@IFunctionHandler__" mce_href="#CScriptBind_AI__CanFireInStance@IFunctionHandler__">CanFireInStance</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Returns if AI can fire at his target in the given stance at his current position </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__CanMelee@IFunctionHandler__" mce_href="#CScriptBind_AI__CanMelee@IFunctionHandler__">CanMelee</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">returns 1 if the AI is able to do melee attack. </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__CanMoveStraightToPoint@IFunctionHandler__" mce_href="#CScriptBind_AI__CanMoveStraightToPoint@IFunctionHandler__">CanMoveStraightToPoint</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Returns true if the entity can move to the specified position in a straight line (no multiple segment path necessary) </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__ChangeFormation@IFunctionHandler__" mce_href="#CScriptBind_AI__ChangeFormation@IFunctionHandler__">ChangeFormation</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Changes the formation descriptor for the current formation of given entity's group (if there is a formation) </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__ChangeMovementAbility@IFunctionHandler__" mce_href="#CScriptBind_AI__ChangeMovementAbility@IFunctionHandler__">ChangeMovementAbility</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Changes an enumerated AI movement ability parameter. </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__ChangeParameter@IFunctionHandler__" mce_href="#CScriptBind_AI__ChangeParameter@IFunctionHandler__">ChangeParameter</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Changes an enumerated AI parameter. </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__CheckMeleeDamage@IFunctionHandler__" mce_href="#CScriptBind_AI__CheckMeleeDamage@IFunctionHandler__">CheckMeleeDamage</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">returns 1 if the AI performing melee is actually hitting target. </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__ClearForReload@IFunctionHandler__" mce_href="#CScriptBind_AI__ClearForReload@IFunctionHandler__">ClearForReload</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Clears all goalpipes from the system </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__ClearPotentialTargets@IFunctionHandler__" mce_href="#CScriptBind_AI__ClearPotentialTargets@IFunctionHandler__">ClearPotentialTargets</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Clears all the potential targets from the AI's perception handler </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__ClearTempTarget@IFunctionHandler__" mce_href="#CScriptBind_AI__ClearTempTarget@IFunctionHandler__">ClearTempTarget</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Removes the entity's temporary potential target, so it is no longer considered for target selection </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__ConstrainPointInsideGenericShape@IFunctionHandler__" mce_href="#CScriptBind_AI__ConstrainPointInsideGenericShape@IFunctionHandler__">ConstrainPointInsideGenericShape</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Returns the nearest point inside specified shape. position - the position to check shapeName - the name of the shape to use as constraint. checkHeight - (optional) Default=false, if the flag is set the height should be constrained too. </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__CreateFormation@IFunctionHandler__" mce_href="#CScriptBind_AI__CreateFormation@IFunctionHandler__">CreateFormation</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Creates a formation descriptor and adds a fixed node at 0,0,0 (owner's node) </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__CreateGoalPipe@IFunctionHandler__" mce_href="#CScriptBind_AI__CreateGoalPipe@IFunctionHandler__">CreateGoalPipe</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Used for warnings about data/script errors </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__CreateGroupFormation@IFunctionHandler__" mce_href="#CScriptBind_AI__CreateGroupFormation@IFunctionHandler__">CreateGroupFormation</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Creates a group formation with leader (or updates leader) </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__CreateQueryFromTacticalSpec@SmartScriptTable" mce_href="#CScriptBind_AI__CreateQueryFromTacticalSpec@SmartScriptTable">CreateQueryFromTacticalSpec</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207"> </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__CreateTempGenericShapeBox@IFunctionHandler__" mce_href="#CScriptBind_AI__CreateTempGenericShapeBox@IFunctionHandler__">CreateTempGenericShapeBox</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Creates a temporary box shaped generic shape (will be destroyed upon AIsystem reset). Returns the name of the shape. center - the center of the box radius - the extend of the box in x and y directions. height - the height of the box. type - the AIanchor type of the shape. </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__DebugReportHitDamage@IFunctionHandler__" mce_href="#CScriptBind_AI__DebugReportHitDamage@IFunctionHandler__">DebugReportHitDamage</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Creates a debug report for the hit damage. </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__DistanceToGenericShape@IFunctionHandler__" mce_href="#CScriptBind_AI__DistanceToGenericShape@IFunctionHandler__">DistanceToGenericShape</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Returns true if the point is inside the specified shape. position - the position to check shapeName - the name of the shape to test (returned by AI.GetEnclosingGenericShapeOfType) checkHeight - (optional) if the flag is set the height of the shape is tested too. The test will check space between the shape.aabb.min.z and shape.aabb.min.z+shape.height. </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__DropTarget@IFunctionHandler__" mce_href="#CScriptBind_AI__DropTarget@IFunctionHandler__">DropTarget</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Clears the target from the AI's perception handler </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__EnableCoverFire@IFunctionHandler__" mce_href="#CScriptBind_AI__EnableCoverFire@IFunctionHandler__">EnableCoverFire</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">enables/disables fire when the FIREMODE_COVER is selected </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__EnableFire@IFunctionHandler__" mce_href="#CScriptBind_AI__EnableFire@IFunctionHandler__">EnableFire</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">enables/disables fire </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__EnableWeaponAccessory@IFunctionHandler__" mce_href="#CScriptBind_AI__EnableWeaponAccessory@IFunctionHandler__">EnableWeaponAccessory</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Enables or disables certain weapon accessory usage. </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__EndGoalPipe@IFunctionHandler__" mce_href="#CScriptBind_AI__EndGoalPipe@IFunctionHandler__">EndGoalPipe</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Ends creating a goal pipe </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__EndGroup@IFunctionHandler__" mce_href="#CScriptBind_AI__EndGroup@IFunctionHandler__">EndGroup</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">to define end of group of goals </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__EndTrackPattern@IFunctionHandler__" mce_href="#CScriptBind_AI__EndTrackPattern@IFunctionHandler__">EndTrackPattern</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Finalizes the track pattern definition. This function should always called to finalize the pattern. Failing to do so, will cause erratic behavior. </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__Error@IFunctionHandler__" mce_href="#CScriptBind_AI__Error@IFunctionHandler__">Error</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Used when we really can't handle some data/situation. The code following this should struggle on so that the original cause (e.g. data) of the problem can be fixed in the editor, but in game this would halt execution </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__EvalPeek@IFunctionHandler__" mce_href="#CScriptBind_AI__EvalPeek@IFunctionHandler__">EvalPeek</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Evaluates if an AI object can peek from his current position entityId - AI's entity id bGetOptimalSide (optional) - If TRUE, and AI object can peek from both sides, will return the side that best fits where the attention target currently is </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__ExecuteAction@IFunctionHandler__" mce_href="#CScriptBind_AI__ExecuteAction@IFunctionHandler__">ExecuteAction</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Executes an Action on a set of Participants </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__FindObjectOfType@IFunctionHandler__" mce_href="#CScriptBind_AI__FindObjectOfType@IFunctionHandler__">FindObjectOfType</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">returns the closest AIObject of a given type around a given entity/position; once an AIObject is found, it's devalued and can't be found again for some seconds (unless specified in flags) </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__FindStandbySpotInShape@IFunctionHandler__" mce_href="#CScriptBind_AI__FindStandbySpotInShape@IFunctionHandler__">FindStandbySpotInShape</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">AI.FindStandbySpotInShape(centerPos, targetPos, anchorType); </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__FindStandbySpotInSphere@IFunctionHandler__" mce_href="#CScriptBind_AI__FindStandbySpotInSphere@IFunctionHandler__">FindStandbySpotInSphere</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">AI.FindStandbySpotInShape(centerPos, targetPos, anchorType); </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__FreeSignal@IFunctionHandler__" mce_href="#CScriptBind_AI__FreeSignal@IFunctionHandler__">FreeSignal</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Sends a signal to anyone in a given radius around a position </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GenerateUniqueTacticGroupId@IFunctionHandler__" mce_href="#CScriptBind_AI__GenerateUniqueTacticGroupId@IFunctionHandler__">GenerateUniqueTacticGroupId</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Returns a unique tactic group Id to use </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetAIObjectPosition@IFunctionHandler__" mce_href="#CScriptBind_AI__GetAIObjectPosition@IFunctionHandler__">GetAIObjectPosition</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">get the given AIObject's position </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetAnchor@IFunctionHandler__" mce_href="#CScriptBind_AI__GetAnchor@IFunctionHandler__">GetAnchor</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">returns the closest Anchor of a given type around a given entity; once an Anchor is found, it's devalued and can't be found again for some seconds (unless specified in flags) </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetAttentionTargetDirection@IFunctionHandler__" mce_href="#CScriptBind_AI__GetAttentionTargetDirection@IFunctionHandler__">GetAttentionTargetDirection</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">returns the given entity's attention target's direction </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetAttentionTargetDistance@IFunctionHandler__" mce_href="#CScriptBind_AI__GetAttentionTargetDistance@IFunctionHandler__">GetAttentionTargetDistance</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">returns the given entity's attention target's distance to the entity </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetAttentionTargetEntity@IFunctionHandler__" mce_href="#CScriptBind_AI__GetAttentionTargetEntity@IFunctionHandler__">GetAttentionTargetEntity</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">returns the given entity's attention target entity (if it is an entity) or the owner entity of the attention target if it is a dummy object (if there is an owner entity) </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetAttentionTargetOf@IFunctionHandler__" mce_href="#CScriptBind_AI__GetAttentionTargetOf@IFunctionHandler__">GetAttentionTargetOf</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">returns the given entity's attention target </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetAttentionTargetPosition@IFunctionHandler__" mce_href="#CScriptBind_AI__GetAttentionTargetPosition@IFunctionHandler__">GetAttentionTargetPosition</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">returns the given entity's attention target's position </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetAttentionTargetType@IFunctionHandler__" mce_href="#CScriptBind_AI__GetAttentionTargetType@IFunctionHandler__">GetAttentionTargetType</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">returns the given entity's attention target type (AITARGET_*) </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetAttentionTargetViewDirection@IFunctionHandler__" mce_href="#CScriptBind_AI__GetAttentionTargetViewDirection@IFunctionHandler__">GetAttentionTargetViewDirection</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">returns the given entity's attention target's view direction </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetBeaconPosition@IFunctionHandler__" mce_href="#CScriptBind_AI__GetBeaconPosition@IFunctionHandler__">GetBeaconPosition</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">get the beacon's position for the given entity/object's group </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetBehaviorBlackBoard@IFunctionHandler__" mce_href="#CScriptBind_AI__GetBehaviorBlackBoard@IFunctionHandler__">GetBehaviorBlackBoard</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">retrieves given AIActor current behavior's black board (a lua table) </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetBehaviorVariable@IFunctionHandler__@ScriptHandle@char_" mce_href="#CScriptBind_AI__GetBehaviorVariable@IFunctionHandler__@ScriptHandle@char_">GetBehaviorVariable</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Returns a behavior variable for the specified actor </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetBiasedDirection@IFunctionHandler_" mce_href="#CScriptBind_AI__GetBiasedDirection@IFunctionHandler_">GetBiasedDirection</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Get biased direction of certain point </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetBTTacticUsers@IFunctionHandler__" mce_href="#CScriptBind_AI__GetBTTacticUsers@IFunctionHandler__">GetBTTacticUsers</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Gets vector of users used by BT in this tactic </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetCoordinationEnvironment@IFunctionHandler_@ScriptHandle" mce_href="#CScriptBind_AI__GetCoordinationEnvironment@IFunctionHandler_@ScriptHandle">GetCoordinationEnvironment</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207"> </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetCoordinationInput@IFunctionHandler_@ScriptHandle@char_" mce_href="#CScriptBind_AI__GetCoordinationInput@IFunctionHandler_@ScriptHandle@char_">GetCoordinationInput</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207"> </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetCoverInfo@IFunctionHandler_" mce_href="#CScriptBind_AI__GetCoverInfo@IFunctionHandler_">GetCoverInfo</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207"> </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetCurrentCoordination@IFunctionHandler_@ScriptHandle" mce_href="#CScriptBind_AI__GetCurrentCoordination@IFunctionHandler_@ScriptHandle">GetCurrentCoordination</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207"> </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetCurrentHideAnchor@IFunctionHandler__" mce_href="#CScriptBind_AI__GetCurrentHideAnchor@IFunctionHandler__">GetCurrentHideAnchor</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Returns the name of the current anchor the entity is using for cover </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetDirectAnchorPos@IFunctionHandler__" mce_href="#CScriptBind_AI__GetDirectAnchorPos@IFunctionHandler__">GetDirectAnchorPos</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Returns a cover point which can be used to directly attack the attention target. Useful for choosing attack position for RPGs and such. Returns nil if no attack point is available. </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetDirLabelToPoint@IFunctionHandler__" mce_href="#CScriptBind_AI__GetDirLabelToPoint@IFunctionHandler__">GetDirLabelToPoint</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Returns a direction label (front=0, back=1, left=2, right_3, above=4, -1=invalid) to the specified point. </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetDistanceAlongPath@IFunctionHandler__" mce_href="#CScriptBind_AI__GetDistanceAlongPath@IFunctionHandler__">GetDistanceAlongPath</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">returns the distance between entity1 and entity2, along entity1's path </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetEnclosingGenericShapeOfType@IFunctionHandler__" mce_href="#CScriptBind_AI__GetEnclosingGenericShapeOfType@IFunctionHandler__">GetEnclosingGenericShapeOfType</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Returns the name of the first shape that is enclosing the specified point and is of specified type position - the position to check type - the type of the shapes to check against (uses anchor types). checkHeight - (optional) Default=false, if the flag is set the height of the shape is tested too. The test will check space between the shape.aabb.min.z and shape.aabb.min.z+shape.height. </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetEnclosingSpace@IFunctionHandler__" mce_href="#CScriptBind_AI__GetEnclosingSpace@IFunctionHandler__">GetEnclosingSpace</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Returns the estimated surrounding navigable space in meters. </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetEntityFromParam@IFunctionHandler__@int" mce_href="#CScriptBind_AI__GetEntityFromParam@IFunctionHandler__@int">GetEntityFromParam</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Fetch entity pointer from script parameter </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetEntityIdFromParam@IFunctionHandler__@int" mce_href="#CScriptBind_AI__GetEntityIdFromParam@IFunctionHandler__@int">GetEntityIdFromParam</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Fetch entity ID from script parameter </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetEntityInRange@IFunctionHandler__" mce_href="#CScriptBind_AI__GetEntityInRange@IFunctionHandler__">GetEntityInRange</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Retrieves a closes entity in a given range respecting a given filter </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetEntityTacticGroupId@IFunctionHandler__" mce_href="#CScriptBind_AI__GetEntityTacticGroupId@IFunctionHandler__">GetEntityTacticGroupId</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Gets which tactic group Id an entity belongs to </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetFormationLookingPoint@IFunctionHandler__" mce_href="#CScriptBind_AI__GetFormationLookingPoint@IFunctionHandler__">GetFormationLookingPoint</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Gets the looking point position inside the formation </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetFormationPointClass@IFunctionHandler__" mce_href="#CScriptBind_AI__GetFormationPointClass@IFunctionHandler__">GetFormationPointClass</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Adds a follow-type node to a formation descriptor </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetFormationPointPosition@IFunctionHandler__" mce_href="#CScriptBind_AI__GetFormationPointPosition@IFunctionHandler__">GetFormationPointPosition</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">gets the AI's formation point position </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetFormationPosition@IFunctionHandler__" mce_href="#CScriptBind_AI__GetFormationPosition@IFunctionHandler__">GetFormationPosition</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Gets the Relative position inside the formation </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetForwardDir@IFunctionHandler__" mce_href="#CScriptBind_AI__GetForwardDir@IFunctionHandler__">GetForwardDir</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Attention Target / perception related functions </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetGroupAveragePosition@IFunctionHandler__" mce_href="#CScriptBind_AI__GetGroupAveragePosition@IFunctionHandler__">GetGroupAveragePosition</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">gets the average position of the (leader's) group members </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetGroupCount@IFunctionHandler__" mce_href="#CScriptBind_AI__GetGroupCount@IFunctionHandler__">GetGroupCount</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">returns the given entity's group members count </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetGroupMember@IFunctionHandler__" mce_href="#CScriptBind_AI__GetGroupMember@IFunctionHandler__">GetGroupMember</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">returns the idx-th entity in the given group </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetGroupOf@IFunctionHandler__" mce_href="#CScriptBind_AI__GetGroupOf@IFunctionHandler__">GetGroupOf</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">returns the given entity's group id </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetGroupSpatialProperties@IAIObject_@float_@Vec3_@Vec3_@Vec3_@Vec3_" mce_href="#CScriptBind_AI__GetGroupSpatialProperties@IAIObject_@float_@Vec3_@Vec3_@Vec3_@Vec3_">GetGroupSpatialProperties</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207"> </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetGroupTarget@IFunctionHandler__" mce_href="#CScriptBind_AI__GetGroupTarget@IFunctionHandler__">GetGroupTarget</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Returns the most threatening attention target amongst the agents in the given entity's group (see IAgent.h for definition of alert status) </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetGroupTargetCount@IFunctionHandler__" mce_href="#CScriptBind_AI__GetGroupTargetCount@IFunctionHandler__">GetGroupTargetCount</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Returns the number of attention targets amongst the agents in the given entity's group </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetHeliAdvancePoint@IFunctionHandler__" mce_href="#CScriptBind_AI__GetHeliAdvancePoint@IFunctionHandler__">GetHeliAdvancePoint</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Helicopter/VTOL related functions /////////////////////////////////////////////////////////////////////////////////////////////////////// Helicopter combat, should be merged with GetAlienApproachParams </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetLastSmartObjectExitPoint@IFunctionHandler__" mce_href="#CScriptBind_AI__GetLastSmartObjectExitPoint@IFunctionHandler__">GetLastSmartObjectExitPoint</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Returns the last used navigational smart object's exit point </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetLastUsedSmartObject@IFunctionHandler__" mce_href="#CScriptBind_AI__GetLastUsedSmartObject@IFunctionHandler__">GetLastUsedSmartObject</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Returns the last used smart object </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetLeader@IFunctionHandler__" mce_href="#CScriptBind_AI__GetLeader@IFunctionHandler__">GetLeader</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">returns the leader's name of the given groupID / entity </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetMemoryFireType@IFunctionHandler__" mce_href="#CScriptBind_AI__GetMemoryFireType@IFunctionHandler__">GetMemoryFireType</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Returns how the puppet handles firing at its memory target </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetNavigationType@IFunctionHandler__" mce_href="#CScriptBind_AI__GetNavigationType@IFunctionHandler__">GetNavigationType</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">returns the navigation type value at the specified entity's position, given the entity navigation properties </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetNearestEntitiesOfType@IFunctionHandler__" mce_href="#CScriptBind_AI__GetNearestEntitiesOfType@IFunctionHandler__">GetNearestEntitiesOfType</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">returns a list of the closest N entities of a given AIObjkect type associated the found objects are then devalued </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetNearestHidespot@IFunctionHandler__" mce_href="#CScriptBind_AI__GetNearestHidespot@IFunctionHandler__">GetNearestHidespot</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Returns position of a nearest hidepoint within specified range, returns nil if no hidepoint is found. entityId - AI's entity id rangeMin/rangeMax - specifies the min/max range where the hidepoints are looked for. center - (optional) specifies the center of search. If not specified, the entity position is used. </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetNearestPathOfTypeInRange@IFunctionHandler__" mce_href="#CScriptBind_AI__GetNearestPathOfTypeInRange@IFunctionHandler__">GetNearestPathOfTypeInRange</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Queries a nearest path of specified type. The type uses same types as anchors and is specified in the path properties. The function will only return paths that match the requesters (entityId) navigation caps. The nav type is also specified in the path properties. entityId - AI's entity id pos - a vector specifying to the point of interest. Path nearest to this position is returned. range - search range. If useStartNode=1, paths whose start point are within this range are returned or if useStartNode=0 nearest distance to the path is calculated and compared against the range. type - type... <A href="http://confluence/#CScriptBind_AI__GetNearestPathOfTypeInRange@IFunctionHandler__" mce_href="#CScriptBind_AI__GetNearestPathOfTypeInRange@IFunctionHandler__">more</A> </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetNearestPointOnPath@IFunctionHandler__" mce_href="#CScriptBind_AI__GetNearestPointOnPath@IFunctionHandler__">GetNearestPointOnPath</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">returns a nearest point on the path from vPos entityId - AI's entity id pathname - designers path name </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetNextNodeRequested@IFunctionHandler__" mce_href="#CScriptBind_AI__GetNextNodeRequested@IFunctionHandler__">GetNextNodeRequested</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Returns next node requested by BT </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetObjectBlackBoard@IFunctionHandler__" mce_href="#CScriptBind_AI__GetObjectBlackBoard@IFunctionHandler__">GetObjectBlackBoard</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">retrieves given object's black board (a lua table) </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetObjectRadius@IFunctionHandler__" mce_href="#CScriptBind_AI__GetObjectRadius@IFunctionHandler__">GetObjectRadius</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Returns the radius of specified AI object. entityId - AI's entity id </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetParameter@IFunctionHandler__" mce_href="#CScriptBind_AI__GetParameter@IFunctionHandler__">GetParameter</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Changes an enumerated AI parameter. </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetPathLoop@IFunctionHandler__" mce_href="#CScriptBind_AI__GetPathLoop@IFunctionHandler__">GetPathLoop</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">returns true if the path is looped entityId - AI's entity id pathname - designers path name </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetPathSegNoOnPath@IFunctionHandler__" mce_href="#CScriptBind_AI__GetPathSegNoOnPath@IFunctionHandler__">GetPathSegNoOnPath</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">returns segment ratio ( 0.0 start point 100.0 end point ) entityId - AI's entity id pathname - designers path name </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetPathTypeName@EAIPathType" mce_href="#CScriptBind_AI__GetPathTypeName@EAIPathType">GetPathTypeName</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207"> </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetPlayerThreatLevel@IFunctionHandler__" mce_href="#CScriptBind_AI__GetPlayerThreatLevel@IFunctionHandler__">GetPlayerThreatLevel</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Returns the value of player’s threat level (float number from 0 to 1.0) </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetPointOnPathBySegNo@IFunctionHandler__" mce_href="#CScriptBind_AI__GetPointOnPathBySegNo@IFunctionHandler__">GetPointOnPathBySegNo</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">returns point by segment ratio ( 0.0 start point 100.0 end point ) entityId - AI's entity id segNo - segment ratio pathname - designers path name </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetPosturePriority@IFunctionHandler__@ScriptHandle@char_@float" mce_href="#CScriptBind_AI__GetPosturePriority@IFunctionHandler__@ScriptHandle@char_@float">GetPosturePriority</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Set the given entity's posture priority </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetPredictedPosAlongPath@IFunctionHandler__" mce_href="#CScriptBind_AI__GetPredictedPosAlongPath@IFunctionHandler__">GetPredictedPosAlongPath</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Get's the agent preticted position along his path at a given time entityId - AI's entity id time - prediction time (sec) retPos - return point value return: true if successful </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetProbableTargetPosition@IFunctionHandler__" mce_href="#CScriptBind_AI__GetProbableTargetPosition@IFunctionHandler__">GetProbableTargetPosition</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Returns the probable target position of the AI. entityId - AI's entity id </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetRefPointDirection@IFunctionHandler__" mce_href="#CScriptBind_AI__GetRefPointDirection@IFunctionHandler__">GetRefPointDirection</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Get the entity's reference point direction </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetRefPointPosition@IFunctionHandler__" mce_href="#CScriptBind_AI__GetRefPointPosition@IFunctionHandler__">GetRefPointPosition</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Get the entity's reference point World position </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetRefShapeName@IFunctionHandler__" mce_href="#CScriptBind_AI__GetRefShapeName@IFunctionHandler__">GetRefShapeName</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Returns the reference shape name. </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetSignalExtraData@IFunctionHandler__@int@IAISignalExtraData_" mce_href="#CScriptBind_AI__GetSignalExtraData@IFunctionHandler__@int@IAISignalExtraData_">GetSignalExtraData</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207"> </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetSoundPerceptionDescriptor@IFunctionHandler__" mce_href="#CScriptBind_AI__GetSoundPerceptionDescriptor@IFunctionHandler__">GetSoundPerceptionDescriptor</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Fills descriptorTable with info about how perception works for the entity dealing with soundType </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetSpeciesOf@IFunctionHandler__" mce_href="#CScriptBind_AI__GetSpeciesOf@IFunctionHandler__">GetSpeciesOf</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">returns the given entity's species id </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetStance@IFunctionHandler__" mce_href="#CScriptBind_AI__GetStance@IFunctionHandler__">GetStance</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">get the given entity's stance </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetSubTypeOf@IFunctionHandler__" mce_href="#CScriptBind_AI__GetSubTypeOf@IFunctionHandler__">GetSubTypeOf</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">returns the given entity's sub type </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetTacticalPoints@IFunctionHandler__" mce_href="#CScriptBind_AI__GetTacticalPoints@IFunctionHandler__">GetTacticalPoints</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Get a point matching a description, related to an entity. Format of a point is: { x,y,z } </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetTargetType@IFunctionHandler__" mce_href="#CScriptBind_AI__GetTargetType@IFunctionHandler__">GetTargetType</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Returns the type of current entity's attention target (memory, human, none etc) </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetTotalLengthOfPath@IFunctionHandler__" mce_href="#CScriptBind_AI__GetTotalLengthOfPath@IFunctionHandler__">GetTotalLengthOfPath</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">returns a total length of the path entityId - AI's entity id pathname - designers path name </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetTypeOf@IFunctionHandler__" mce_href="#CScriptBind_AI__GetTypeOf@IFunctionHandler__">GetTypeOf</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">returns the given entity's type </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetUnitCount@IFunctionHandler__" mce_href="#CScriptBind_AI__GetUnitCount@IFunctionHandler__">GetUnitCount</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Gets the number of units the leader knows about. The leader will be found based on the group id of the entity. </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__GetUnitInRank@IFunctionHandler__" mce_href="#CScriptBind_AI__GetUnitInRank@IFunctionHandler__">GetUnitInRank</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Returns the entity in the group id in the given rank position, or the highest if rank == nil or rank <=0 the rank is specified in entity.Properties.nRank; </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__Hostile@IFunctionHandler__" mce_href="#CScriptBind_AI__Hostile@IFunctionHandler__">Hostile</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">returns true if the two entities are hostile </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__IgnoreCurrentHideObject@IFunctionHandler__" mce_href="#CScriptBind_AI__IgnoreCurrentHideObject@IFunctionHandler__">IgnoreCurrentHideObject</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Marks the current hideobject unreachable (will be omitted from future hidespot selections). </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__IntersectsForbidden@IFunctionHandler__" mce_href="#CScriptBind_AI__IntersectsForbidden@IFunctionHandler__">IntersectsForbidden</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">tank/warrior related functions /////////////////////////////////////////////////////////////////////////////////////////////////////// <BR></BR>check if the line is in a Forbidden Region </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__IsAgentInAgentFOV@IFunctionHandler__" mce_href="#CScriptBind_AI__IsAgentInAgentFOV@IFunctionHandler__">IsAgentInAgentFOV</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Check if the entity2 is within the entity FOV </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__IsAgentInTargetFOV@IFunctionHandler__" mce_href="#CScriptBind_AI__IsAgentInTargetFOV@IFunctionHandler__">IsAgentInTargetFOV</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Checks if the entity is in the FOV of the attention target. </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__IsCoverCompromised@IFunctionHandler__" mce_href="#CScriptBind_AI__IsCoverCompromised@IFunctionHandler__">IsCoverCompromised</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207"> </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__IsEnabled@IFunctionHandler__" mce_href="#CScriptBind_AI__IsEnabled@IFunctionHandler__">IsEnabled</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Returns true if entity's AI is enabled </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__IsFireEnabled@IFunctionHandler__" mce_href="#CScriptBind_AI__IsFireEnabled@IFunctionHandler__">IsFireEnabled</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">checks if ai is allowed to fire or not </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__IsGoalPipe@IFunctionHandler__" mce_href="#CScriptBind_AI__IsGoalPipe@IFunctionHandler__">IsGoalPipe</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Checks is a goalpipe of certain name exists already, returns true if pipe exists. </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__IsInCover@IFunctionHandler_" mce_href="#CScriptBind_AI__IsInCover@IFunctionHandler_">IsInCover</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207"> </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__IsLowOnAmmo@IFunctionHandler__" mce_href="#CScriptBind_AI__IsLowOnAmmo@IFunctionHandler__">IsLowOnAmmo</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207"> </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__IsMoving@IFunctionHandler__" mce_href="#CScriptBind_AI__IsMoving@IFunctionHandler__">IsMoving</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Returns true if the agent desires to move. </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__IsMovingToCover@IFunctionHandler__" mce_href="#CScriptBind_AI__IsMovingToCover@IFunctionHandler__">IsMovingToCover</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207"> </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__IsOutOfAmmo@IFunctionHandler__" mce_href="#CScriptBind_AI__IsOutOfAmmo@IFunctionHandler__">IsOutOfAmmo</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207"> </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__IsPointInFlightRegion@IFunctionHandler__" mce_href="#CScriptBind_AI__IsPointInFlightRegion@IFunctionHandler__">IsPointInFlightRegion</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">check if the point is in the Flight Region </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__IsPointInsideGenericShape@IFunctionHandler__" mce_href="#CScriptBind_AI__IsPointInsideGenericShape@IFunctionHandler__">IsPointInsideGenericShape</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Returns true if the point is inside the specified shape. position - the position to check shapeName - the name of the shape to test (returned by AI.GetEnclosingGenericShapeOfType) checkHeight - (optional) Default=false, if the flag is set the height of the shape is tested too. The test will check space between the shape.aabb.min.z and shape.aabb.min.z+shape.height. </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__IsPointInWaterRegion@IFunctionHandler__" mce_href="#CScriptBind_AI__IsPointInWaterRegion@IFunctionHandler__">IsPointInWaterRegion</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">check if the point is in the Flight Region </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__IsPunchableObjectValid@IFunctionHandler__" mce_href="#CScriptBind_AI__IsPunchableObjectValid@IFunctionHandler__">IsPunchableObjectValid</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Checks if a punchable object is valid. </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__IsTakingCover@IFunctionHandler__" mce_href="#CScriptBind_AI__IsTakingCover@IFunctionHandler__">IsTakingCover</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207"> </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__LoadBehaviours@IFunctionHandler__@char__@SmartScriptTable" mce_href="#CScriptBind_AI__LoadBehaviours@IFunctionHandler__@char__@SmartScriptTable">LoadBehaviours</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207"> </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__LoadCharacters@IFunctionHandler__@char__@SmartScriptTable" mce_href="#CScriptBind_AI__LoadCharacters@IFunctionHandler__@char__@SmartScriptTable">LoadCharacters</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207"> </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__LoadGoalPipes@IFunctionHandler_" mce_href="#CScriptBind_AI__LoadGoalPipes@IFunctionHandler_">LoadGoalPipes</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">XML support for goal pipes </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__LoadNavMesh@IFunctionHandler__" mce_href="#CScriptBind_AI__LoadNavMesh@IFunctionHandler__">LoadNavMesh</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">NOTE Oct 9, 2009: demand-loading layered navigation meshes </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__LogComment@IFunctionHandler__" mce_href="#CScriptBind_AI__LogComment@IFunctionHandler__">LogComment</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Used to indicate info that would be useful for debugging, but there's too much of it for it to be enabled all the time </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__LogEvent@IFunctionHandler__" mce_href="#CScriptBind_AI__LogEvent@IFunctionHandler__">LogEvent</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Used to indicate event-driven info that would be useful for debugging (may occur on a per-frame or even per-AI-update basis) </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__LogProgress@IFunctionHandler__" mce_href="#CScriptBind_AI__LogProgress@IFunctionHandler__">LogProgress</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Used to indicate "progress markers" - e.g. during loading </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__MeleePunchableObject@IFunctionHandler__" mce_href="#CScriptBind_AI__MeleePunchableObject@IFunctionHandler__">MeleePunchableObject</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207"> </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__ModifySmartObjectStates@IFunctionHandler__" mce_href="#CScriptBind_AI__ModifySmartObjectStates@IFunctionHandler__">ModifySmartObjectStates</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Adds/Removes smart object states of a given entity </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__ParsePostureInfo@CPuppet_@SmartScriptTable_@IPuppet__SPostureInfo_@int" mce_href="#CScriptBind_AI__ParsePostureInfo@CPuppet_@SmartScriptTable_@IPuppet__SPostureInfo_@int">ParsePostureInfo</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207"> </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__ParseTables@int@bool@IFunctionHandler_@AIObjectParams_@bool_" mce_href="#CScriptBind_AI__ParseTables@int@bool@IFunctionHandler_@AIObjectParams_@bool_">ParseTables</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207"> </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__PlayCommunication@IFunctionHandler__@ScriptHandle@char_@char_@float" mce_href="#CScriptBind_AI__PlayCommunication@IFunctionHandler__@ScriptHandle@char_@char_@float">PlayCommunication</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Plays communication on the AI agent. </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__PlayReadabilityFromSet@IFunctionHandler__" mce_href="#CScriptBind_AI__PlayReadabilityFromSet@IFunctionHandler__">PlayReadabilityFromSet</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207"> </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__PlayReadabilityNextStep@IFunctionHandler__" mce_href="#CScriptBind_AI__PlayReadabilityNextStep@IFunctionHandler__">PlayReadabilityNextStep</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207"> </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__PlayReadabilitySound@IFunctionHandler__" mce_href="#CScriptBind_AI__PlayReadabilitySound@IFunctionHandler__">PlayReadabilitySound</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Plays readability sound on the AI agent. This call does not do any filtering like playing readability using signals. </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__ProcessBalancedDamage@IFunctionHandler__" mce_href="#CScriptBind_AI__ProcessBalancedDamage@IFunctionHandler__">ProcessBalancedDamage</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Processes balanced damage. </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__PushGoal@IFunctionHandler__" mce_href="#CScriptBind_AI__PushGoal@IFunctionHandler__">PushGoal</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Used for warnings about data/script errors </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__PushLabel@IFunctionHandler__" mce_href="#CScriptBind_AI__PushLabel@IFunctionHandler__">PushLabel</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Used in combination with "branch" goal operation to identify jump destination </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__RayWorldIntersectionWrapper@Vec3@Vec3@int@unsigned_int@ray_hit__@int@IPhysicalEntity___@int@void__@int@int" mce_href="#CScriptBind_AI__RayWorldIntersectionWrapper@Vec3@Vec3@int@unsigned_int@ray_hit__@int@IPhysicalEntity___@int@void__@int@int">RayWorldIntersectionWrapper</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207"> </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__RecComment@IFunctionHandler__" mce_href="#CScriptBind_AI__RecComment@IFunctionHandler__">RecComment</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Record comment with AIRecorder. </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__RegisterDamageRegion@IFunctionHandler__" mce_href="#CScriptBind_AI__RegisterDamageRegion@IFunctionHandler__">RegisterDamageRegion</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Register a spherical region that causes damage (so should be avoided in pathfinding). Owner entity position is used as region center. Can be called multiple times, will just move update region position </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__RegisterForReadabilitySet@IFunctionHandler__" mce_href="#CScriptBind_AI__RegisterForReadabilitySet@IFunctionHandler__">RegisterForReadabilitySet</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Cooperative Readability System /////////////////////////////////////////////////////////////////////////////////////////////////////// <BR></BR> </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__RegisterInterestedActor@IFunctionHandler_@ScriptHandle@float@float" mce_href="#CScriptBind_AI__RegisterInterestedActor@IFunctionHandler_@ScriptHandle@float@float">RegisterInterestedActor</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Registers the interested actor with the interest system Any errors go to error log </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__RegisterInterestingEntity@IFunctionHandler_@ScriptHandle@float@float@char_" mce_href="#CScriptBind_AI__RegisterInterestingEntity@IFunctionHandler_@ScriptHandle@float@float@char_">RegisterInterestingEntity</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Registers the entity with the interest system Any errors go to error log </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__RegisterTacticalPointQuery@IFunctionHandler__" mce_href="#CScriptBind_AI__RegisterTacticalPointQuery@IFunctionHandler__">RegisterTacticalPointQuery</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Get a query ID for the given tactical point query </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__RegisterTargetTrack@IFunctionHandler__" mce_href="#CScriptBind_AI__RegisterTargetTrack@IFunctionHandler__">RegisterTargetTrack</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Registers the AI object to use the given target track configuration for target selection </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__ReloadBehaviorTreeProfile@IFunctionHandler__" mce_href="#CScriptBind_AI__ReloadBehaviorTreeProfile@IFunctionHandler__">ReloadBehaviorTreeProfile</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Reloads given AIActor's behavior tree to its initial state </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__RequestAttack@IFunctionHandler__" mce_href="#CScriptBind_AI__RequestAttack@IFunctionHandler__">RequestAttack</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">in a group with leader, the entity requests for a group attack behavior against the enemy The Cleader later will possibly create an attack leader action (CLeaderAction_Attack_*) </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__ResetAgentLookAtPos@IFunctionHandler__" mce_href="#CScriptBind_AI__ResetAgentLookAtPos@IFunctionHandler__">ResetAgentLookAtPos</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Makes the entityId resets a previous call to AgentLookAtPos() </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__ResetAgentState@IFunctionHandler__@ScriptHandle@char__" mce_href="#CScriptBind_AI__ResetAgentState@IFunctionHandler__@ScriptHandle@char__">ResetAgentState</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Resets a particular aspect of the agent's state, such as "lean" Intended to keep these hacky concepts together. </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__ResetParameters@IFunctionHandler__" mce_href="#CScriptBind_AI__ResetParameters@IFunctionHandler__">ResetParameters</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Resets all the AI parameters </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__ScaleFormation@IFunctionHandler__" mce_href="#CScriptBind_AI__ScaleFormation@IFunctionHandler__">ScaleFormation</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">changes the scale factor of the given entity's formation (if there is) </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__SendBTGlobalSignal@IFunctionHandler__" mce_href="#CScriptBind_AI__SendBTGlobalSignal@IFunctionHandler__">SendBTGlobalSignal</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Send a signal to the BT global activation conditions </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__SetAlarmed@IFunctionHandler__" mce_href="#CScriptBind_AI__SetAlarmed@IFunctionHandler__">SetAlarmed</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">This function sets the entity to be "perception alarmed" </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__SetAssesmentMultiplier@IFunctionHandler__" mce_href="#CScriptBind_AI__SetAssesmentMultiplier@IFunctionHandler__">SetAssesmentMultiplier</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">set the assesment multiplier factor for the given AIObject type </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__SetAttentiontarget@IFunctionHandler_" mce_href="#CScriptBind_AI__SetAttentiontarget@IFunctionHandler_">SetAttentiontarget</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Set a new attention target </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__SetBeaconPosition@IFunctionHandler__" mce_href="#CScriptBind_AI__SetBeaconPosition@IFunctionHandler__">SetBeaconPosition</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Set the beacon's position for the given entity/object's group </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__SetBehaviorTreeProfile@IFunctionHandler__" mce_href="#CScriptBind_AI__SetBehaviorTreeProfile@IFunctionHandler__">SetBehaviorTreeProfile</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">retrieves given AIActor current behavior's black board (a lua table) </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__SetBehaviorVariable@IFunctionHandler__@ScriptHandle@char_@bool" mce_href="#CScriptBind_AI__SetBehaviorVariable@IFunctionHandler__@ScriptHandle@char_@bool">SetBehaviorVariable</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Sets a behavior variable for the specified actor </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__SetCharacter@IFunctionHandler__" mce_href="#CScriptBind_AI__SetCharacter@IFunctionHandler__">SetCharacter</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Sets the AI character of the entity. </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__SetCoordinationInput@IFunctionHandler_@ScriptHandle@char_" mce_href="#CScriptBind_AI__SetCoordinationInput@IFunctionHandler_@ScriptHandle@char_">SetCoordinationInput</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207"> </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__SetEnableBehaviorTree@IFunctionHandler__" mce_href="#CScriptBind_AI__SetEnableBehaviorTree@IFunctionHandler__">SetEnableBehaviorTree</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Enables/disables (depending on bEnable value) BehaviorTree for given entity </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__SetEntitySpeedRange@IFunctionHandler__" mce_href="#CScriptBind_AI__SetEntitySpeedRange@IFunctionHandler__">SetEntitySpeedRange</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">This function allows the user to override the entity's speed range for the given urgency </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__SetEntityTacticGroupId@IFunctionHandler__" mce_href="#CScriptBind_AI__SetEntityTacticGroupId@IFunctionHandler__">SetEntityTacticGroupId</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Sets which tactic group Id an entity belongs to </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__SetExtraPriority@IFunctionHandler__" mce_href="#CScriptBind_AI__SetExtraPriority@IFunctionHandler__">SetExtraPriority</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">get/set a extra priority value to the entity which is given by enemyEntityId </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__SetFireMode@IFunctionHandler__" mce_href="#CScriptBind_AI__SetFireMode@IFunctionHandler__">SetFireMode</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">immediately sets firemode </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__SetFormationAngleThreshold@IFunctionHandler__" mce_href="#CScriptBind_AI__SetFormationAngleThreshold@IFunctionHandler__">SetFormationAngleThreshold</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Sets the Relative position inside the formation </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__SetFormationLookingPoint@IFunctionHandler__" mce_href="#CScriptBind_AI__SetFormationLookingPoint@IFunctionHandler__">SetFormationLookingPoint</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Sets the Relative looking point position inside the formation </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__SetFormationPosition@IFunctionHandler__" mce_href="#CScriptBind_AI__SetFormationPosition@IFunctionHandler__">SetFormationPosition</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Sets the Relative position inside the formation </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__SetFormationUpdate@IFunctionHandler__" mce_href="#CScriptBind_AI__SetFormationUpdate@IFunctionHandler__">SetFormationUpdate</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">changes the update flag of the given entity's formation (if there is) - the formation is no more updated if the flag is false </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__SetFormationUpdateSight@IFunctionHandler__" mce_href="#CScriptBind_AI__SetFormationUpdateSight@IFunctionHandler__">SetFormationUpdateSight</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">sets a random angle rotation for the given entity's formation sight directions </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__SetIgnorant@IFunctionHandler__" mce_href="#CScriptBind_AI__SetIgnorant@IFunctionHandler__">SetIgnorant</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">makes an AI ignore system signals, visual stimuli and sound stimuli </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__SetInCover@IFunctionHandler_" mce_href="#CScriptBind_AI__SetInCover@IFunctionHandler_">SetInCover</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207"> </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__SetLeader@IFunctionHandler__" mce_href="#CScriptBind_AI__SetLeader@IFunctionHandler__">SetLeader</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Set the given entity as Leader (associating a CLeader object to it and creating it if it doesn't exist) Only one leader can be set per group </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__SetMemoryFireType@IFunctionHandler__" mce_href="#CScriptBind_AI__SetMemoryFireType@IFunctionHandler__">SetMemoryFireType</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Sets how the puppet handles firing at its memory target </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__SetPathAttributeToFollow@IFunctionHandler__" mce_href="#CScriptBind_AI__SetPathAttributeToFollow@IFunctionHandler__">SetPathAttributeToFollow</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Set the attribute of the path to be used in 'followpath' goal operation. entityId - AI's entity id </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__SetPathToFollow@IFunctionHandler__" mce_href="#CScriptBind_AI__SetPathToFollow@IFunctionHandler__">SetPathToFollow</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Set the name of the path to be used in 'followpath' goal operation. entityId - AI's entity id pathName - (string) name of the path to set to be followed. </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__SetPFBlockerRadius@IFunctionHandler__" mce_href="#CScriptBind_AI__SetPFBlockerRadius@IFunctionHandler__">SetPFBlockerRadius</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207"> </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#!!OVERLOADED_SetPFProperties_CScriptBind_AI" mce_href="#!!OVERLOADED_SetPFProperties_CScriptBind_AI">SetPFProperties</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">This is the overview for the SetPFProperties method overload. </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__SetPlayerSpeciesThreatMultiplier@IFunctionHandler__" mce_href="#CScriptBind_AI__SetPlayerSpeciesThreatMultiplier@IFunctionHandler__">SetPlayerSpeciesThreatMultiplier</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">set the threat multiplier factor for the player species (if 0, species is not hostile to any other) </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__SetPointListToFollow@IFunctionHandler__" mce_href="#CScriptBind_AI__SetPointListToFollow@IFunctionHandler__">SetPointListToFollow</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Set a point list for followpath goal op entityId - AI's entity id pointList should be like below local vectors = { { x = 0.0, y = 0.0, z = 0.0 }, -- vectors[1].(x,y,z) { x = 0.0, y = 0.0, z = 0.0 }, -- vectors[2].(x,y,z) { x = 0.0, y = 0.0, z = 0.0 }, -- vectors[3].(x,y,z) { x = 0.0, y = 0.0, z = 0.0 }, -- vectors[4].(x,y,z) { x = 0.0, y = 0.0, z = 0.0 }, -- vectors[5].(x,y,z) { x = 0.0, y = 0.0, z = 0.0 }, -- vectors[6].(x,y,z)... <A href="http://confluence/#CScriptBind_AI__SetPointListToFollow@IFunctionHandler__" mce_href="#CScriptBind_AI__SetPointListToFollow@IFunctionHandler__">more</A> </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__SetPosturePriority@IFunctionHandler__@ScriptHandle@char_@float" mce_href="#CScriptBind_AI__SetPosturePriority@IFunctionHandler__@ScriptHandle@char_@float">SetPosturePriority</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Set the given entity's posture priority </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__SetPostures@IFunctionHandler__@ScriptHandle@SmartScriptTable" mce_href="#CScriptBind_AI__SetPostures@IFunctionHandler__@ScriptHandle@SmartScriptTable">SetPostures</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Set the given entity's postures </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__SetReadyForNodeChange@IFunctionHandler__" mce_href="#CScriptBind_AI__SetReadyForNodeChange@IFunctionHandler__">SetReadyForNodeChange</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Sets entity to be ready for a node change </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__SetRefPointAtDefensePos@IFunctionHandler__" mce_href="#CScriptBind_AI__SetRefPointAtDefensePos@IFunctionHandler__">SetRefPointAtDefensePos</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Set the entity refpoint position in an intermediate distance between the entity's att target and the given point entityId - AI's entity id point2defend - point to defend distance - max distance to keep from the point </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__SetRefPointDirection@IFunctionHandler__" mce_href="#CScriptBind_AI__SetRefPointDirection@IFunctionHandler__">SetRefPointDirection</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Sets the reference point's World position of an entity </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__SetRefPointPosition@IFunctionHandler__" mce_href="#CScriptBind_AI__SetRefPointPosition@IFunctionHandler__">SetRefPointPosition</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Sets the reference point's World position of an entity </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__SetRefPointRadius@IFunctionHandler__" mce_href="#CScriptBind_AI__SetRefPointRadius@IFunctionHandler__">SetRefPointRadius</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Sets the reference point's radius. </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__SetRefpointToAnchor@IFunctionHandler__" mce_href="#CScriptBind_AI__SetRefpointToAnchor@IFunctionHandler__">SetRefpointToAnchor</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Sets a reference point to an anchor. </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__SetRefpointToPunchableObject@IFunctionHandler__" mce_href="#CScriptBind_AI__SetRefpointToPunchableObject@IFunctionHandler__">SetRefpointToPunchableObject</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Sets the reference point to the punchable object. </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__SetRefShapeName@IFunctionHandler__" mce_href="#CScriptBind_AI__SetRefShapeName@IFunctionHandler__">SetRefShapeName</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Sets the reference shape name. </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__SetSmartObjectState@IFunctionHandler__" mce_href="#CScriptBind_AI__SetSmartObjectState@IFunctionHandler__">SetSmartObjectState</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Sets only one single smart object state replacing all other states </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__SetSoundPerceptionDescriptor@IFunctionHandler__" mce_href="#CScriptBind_AI__SetSoundPerceptionDescriptor@IFunctionHandler__">SetSoundPerceptionDescriptor</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Sets data on how perception works for the entity dealing with soundType </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__SetSpeciesThreatMultiplier@IFunctionHandler__" mce_href="#CScriptBind_AI__SetSpeciesThreatMultiplier@IFunctionHandler__">SetSpeciesThreatMultiplier</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">set the threat multiplier factor for the given species (if 0, species is not hostile to any other) </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__SetStance@IFunctionHandler__" mce_href="#CScriptBind_AI__SetStance@IFunctionHandler__">SetStance</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">set the given entity's stance </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__SetTargetTrackClassThreat@IFunctionHandler__" mce_href="#CScriptBind_AI__SetTargetTrackClassThreat@IFunctionHandler__">SetTargetTrackClassThreat</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Sets the class threat for the entity for target track usage </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__SetTempTargetPriority@IFunctionHandler__" mce_href="#CScriptBind_AI__SetTempTargetPriority@IFunctionHandler__">SetTempTargetPriority</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Set the selection priority of the temp target over other potential targets </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__SetTerritoryShapeName@IFunctionHandler__" mce_href="#CScriptBind_AI__SetTerritoryShapeName@IFunctionHandler__">SetTerritoryShapeName</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Sets the territory of the puppet. </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__SetUnitProperties@IFunctionHandler__" mce_href="#CScriptBind_AI__SetUnitProperties@IFunctionHandler__">SetUnitProperties</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Sets the leader knowledge about the units combat capabilities. The leader will be found based on the group id of the entity. </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__Signal@IFunctionHandler__" mce_href="#CScriptBind_AI__Signal@IFunctionHandler__">Signal</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Sends a signal to an entity or a group of entities </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__SmartObjectEvent@IFunctionHandler__" mce_href="#CScriptBind_AI__SmartObjectEvent@IFunctionHandler__">SmartObjectEvent</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Executes a smart action </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__SoundEvent@IFunctionHandler__" mce_href="#CScriptBind_AI__SoundEvent@IFunctionHandler__">SoundEvent</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Generates a sound event in the AI system with the given parameters. </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__StartCoordinationWithMembersOfGroup@IFunctionHandler_@int@char_" mce_href="#CScriptBind_AI__StartCoordinationWithMembersOfGroup@IFunctionHandler_@int@char_">StartCoordinationWithMembersOfGroup</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207"> </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__StopCoordination@IFunctionHandler_@ScriptHandle" mce_href="#CScriptBind_AI__StopCoordination@IFunctionHandler_@ScriptHandle">StopCoordination</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207"> </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__ThrowGrenade@IFunctionHandler__" mce_href="#CScriptBind_AI__ThrowGrenade@IFunctionHandler__">ThrowGrenade</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">throws a specified grenade at target type without interrupting fire mode </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__UnregisterFromReadabilitySet@IFunctionHandler__" mce_href="#CScriptBind_AI__UnregisterFromReadabilitySet@IFunctionHandler__">UnregisterFromReadabilitySet</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207"> </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__UnregisterInterestedActor@IFunctionHandler_@ScriptHandle" mce_href="#CScriptBind_AI__UnregisterInterestedActor@IFunctionHandler_@ScriptHandle">UnregisterInterestedActor</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Unregisters the entity with the interest system Any errors go to error log </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__UnregisterInterestingEntity@IFunctionHandler_@ScriptHandle" mce_href="#CScriptBind_AI__UnregisterInterestingEntity@IFunctionHandler_@ScriptHandle">UnregisterInterestingEntity</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Unregisters the entity with the interest system Any errors go to error log </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__UnregisterTargetTrack@IFunctionHandler__" mce_href="#CScriptBind_AI__UnregisterTargetTrack@IFunctionHandler__">UnregisterTargetTrack</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Unregisters the AI object with the target track manager </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__UpdateTempTarget@IFunctionHandler__" mce_href="#CScriptBind_AI__UpdateTempTarget@IFunctionHandler__">UpdateTempTarget</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Updates the entity's temporary potential target to the given position </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__UpTargetPriority@IFunctionHandler__" mce_href="#CScriptBind_AI__UpTargetPriority@IFunctionHandler__">UpTargetPriority</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">modifies the current entity's target priority for the given target if the given target is among the entity's target list </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__VisualEvent@IFunctionHandler__" mce_href="#CScriptBind_AI__VisualEvent@IFunctionHandler__">VisualEvent</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Generates a visual event in the AI system with the given parameters. </DIV></TD></TR>
<TR>
<TD class="Element202" valign="top" width="40%">
<DIV class="Element203"><A href="http://confluence/#CScriptBind_AI__Warning@IFunctionHandler__" mce_href="#CScriptBind_AI__Warning@IFunctionHandler__">Warning</A> </DIV></TD>
<TD class="Element206" valign="top" width="60%">
<DIV class="Element207">Used for warnings about data/script errors </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__AbortAction@IFunctionHandler__">
<DIV class="Element5">AbortAction</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.AbortAction( userId [, actionId ] )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Aborts execution of an action if actionId is specified or aborts execution of all actions if actionId is nil or 0</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">userId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">entity id of the user which AI action is aborted (optional) actionId - id of action to be aborted or 0 (or nil) to abort all actions on specified entity </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__AddAggressiveTarget@IFunctionHandler__">
<DIV class="Element5">AddAggressiveTarget</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.AddAggressiveTarget(entityId, targetId)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Add the target Id as an aggressive potential target to the entity's list</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">targetId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Target to add to the list </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">true if updated</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__AddCombatClass@IFunctionHandler__">
<DIV class="Element5">CScriptBind_AI::AddCombatClass Method</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1"><STRONG><FONT color="#871f78" style="FONT-FAMILY: ; COLOR: ">int</FONT></STRONG> <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">AddCombatClass</FONT></STRONG>(IFunctionHandler * <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">pH</FONT></STRONG>);<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Creates new combat class</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__AddFormationPoint@IFunctionHandler__">
<DIV class="Element5">AddFormationPoint</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.AddFormationPoint(name, sightangle, distance,offset, [unit_class [,distanceAlt,offsetAlt]] )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Adds a follow-type node to a formation descriptor</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">name </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">name of the formation descriptor </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">distance </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">distance from the formation's owner </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">offset </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">X offset along the following line (negative = left, positive = right) </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">sightangle </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">angle of sight of the node (-180,180; 0 = the guy looks forward) </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">unit_class </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">class of soldier (see eSoldierClass definition in IAgent.h) distanceAlt (optional)- alternative distance from the formation owner (if 0, distanceAlt and offsetAlt will be set respectively to distance and offset) offsetAlt (optional) - alternative X offset </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__AddFormationPointFixed@IFunctionHandler__">
<DIV class="Element5">AddFormationPointFixed</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.AddFormationPointFixed(name,sightangle, x,y,z [,unit_class] )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Adds a node with a fixed offset to a formation descriptor</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">name </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">name of the formation descriptor x,y,z - offset from formation owner </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">sightangle </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">angle of sight of the node (-180,180; 0 = the guy looks forward) </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">unit_class </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">class of soldier (see eSoldierClass definition in IAgent.h) </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__AddPatternBranch@IFunctionHandler__">
<DIV class="Element5">AddPatternBranch</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.AddPatternBranch( nodeName, method, branchNode1, branchNode2, ..., branchNodeN )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Creates a branch pattern at the specified node. When the entity has approached the specified node (nodeName), and it is time to choose a new point, the rules defined by this function will be used to select the new point. This function allows to associate multiple target points and an evaluation rule.</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">nodeName </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">name of the node to add the branches. </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">method </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">The method to choose the next node when the node is reached. Should be one of the following: </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AITRACKPAT_CHOOSE_ALWAYS </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Chooses on node from the list in linear sequence. </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AITRACKPAT_CHOOSE_LESS_DEFORMED </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Chooses the least deformed point in the list. Each node is associated with a deformation value (percentage) which describes how much it was required to move in order to stay within the physical world. These deformation values are summed down to the parent nodes so that deformation at the end of the hierarchy will be caught down the hierarchy. </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AITRACKPAT_CHOOSE_RANDOM </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Chooses one point in the list randomly. </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="4578616D706C65"></A>
<DIV class="Element14">Example</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">AI.AddPatternBranch( "point1", AITRACKPAT_CHOOSE_ALWAYS, "point2" );</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__AddPatternNode@IFunctionHandler__">
<DIV class="Element5">AddPatternNode</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.AddPatternNode( nodeName, offsetx, offsety, offsetz, flags, [parent], [signalValue] )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Adds point to the track pattern. When validating the points test is made from the start position to the end position. Start position is either the pattern origin or in case the parent is provided, the parent position. The end position is either relative offset from the start position or offset from the pattern origin, this is chosen based on the node flag. The offset is clamped to the physical world based on the test method. The points will be evaluated in the same oder they are added to the descriptor, and hte system does not try to correct the evaluation order. In case hierarchies are used (parent name is defined) it is up to the pattern creator to make sure the nodes are created in such order that the parent is added before it is referenced.</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">nodeName </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">name of the new point, the point names are local to the pattern that is currently being specified. offsetx, offsety, offsetz - The offset from the start position or from the pattern center, see AITRACKPAT_NODE_ABSOLUTE. If zero offset is used, the node will become an alias, that is it will not be validated and the parent position and deformation value is used directly. </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">flags </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Defines the node evaluation flags, the flags are as follows and can be combined: </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AITRACKPAT_NODE_START </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">If this flag is set, this node can be used as the first node in the pattern. There can be multiple start nodes. In that case the closest one is chosen. </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AITRACKPAT_NODE_ABSOLUTE </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">If this flag is set, the offset is interpret as an offset from the pattern center, otherwise the offset is offset from the start position. </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AITRACKPAT_NODE_SIGNAL </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">If this flag is set, a signal "OnReachedTrackPatternNode" will be send when the node is reached. </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AITRACKPAT_NODE_STOP </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">If this flag is set, the advancing will be stopped, it can be continue by calling entity:ChangeAIParameter( AIPARAM_TRACKPATTERN_ADVANCE, 1 ). </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AITRACKPAT_NODE_DIRBRANCH </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">The default direction at each pattern node is direction from the node position to the center of the pattern If this flag is set, the direction will be average direction to the branch nodes. parent (optional) - If this parameter is set, the start position is considered to be the parent node position instead of the pattern center. signalValue (optional) - If the signal flag is set, this value will be passed as signal parameter, it is accessible from the signal handler in data.iValue. </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="4578616D706C65"></A>
<DIV class="Element14">Example</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">AI.AddPatternNode( "point1", 1.0, 0, 0, AITRACKPAT_NODE_START+AITRACKPAT_NODE_SIGNAL, "root" );</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__AddPatternNode@IFunctionHandler__">
<DIV class="Element5">AddPatternNode</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.AddPatternNode( nodeName, offsetx, offsety, offsetz, flags, [parent], [signalValue] )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Adds point to the track pattern. When validating the points test is made from the start position to the end position. Start position is either the pattern origin or in case the parent is provided, the parent position. The end position is either relative offset from the start position or offset from the pattern origin, this is chosen based on the node flag. The offset is clamped to the physical world based on the test method. The points will be evaluated in the same oder they are added to the descriptor, and hte system does not try to correct the evaluation order. In case hierarchies are used (parent name is defined) it is up to the pattern creator to make sure the nodes are created in such order that the parent is added before it is referenced.</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">nodeName </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">name of the new point, the point names are local to the pattern that is currently being specified. offsetx, offsety, offsetz - The offset from the start position or from the pattern center, see AITRACKPAT_NODE_ABSOLUTE. If zero offset is used, the node will become an alias, that is it will not be validated and the parent position and deformation value is used directly. </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">flags </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Defines the node evaluation flags, the flags are as follows and can be combined: </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AITRACKPAT_NODE_START </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">If this flag is set, this node can be used as the first node in the pattern. There can be multiple start nodes. In that case the closest one is chosen. </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AITRACKPAT_NODE_ABSOLUTE </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">If this flag is set, the offset is interpret as an offset from the pattern center, otherwise the offset is offset from the start position. </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AITRACKPAT_NODE_SIGNAL </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">If this flag is set, a signal "OnReachedTrackPatternNode" will be send when the node is reached. </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AITRACKPAT_NODE_STOP </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">If this flag is set, the advancing will be stopped, it can be continue by calling entity:ChangeAIParameter( AIPARAM_TRACKPATTERN_ADVANCE, 1 ). </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AITRACKPAT_NODE_DIRBRANCH </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">The default direction at each pattern node is direction from the node position to the center of the pattern If this flag is set, the direction will be average direction to the branch nodes. parent (optional) - If this parameter is set, the start position is considered to be the parent node position instead of the pattern center. signalValue (optional) - If the signal flag is set, this value will be passed as signal parameter, it is accessible from the signal handler in data.iValue. </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="4578616D706C65"></A>
<DIV class="Element14">Example</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">AI.AddPatternNode( "point1", 1.0, 0, 0, AITRACKPAT_NODE_START+AITRACKPAT_NODE_SIGNAL, "root" );</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__AgentLookAtPos@IFunctionHandler__">
<DIV class="Element5">AgentLookAtPos</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.AgentLookAtPos(entityId, pos)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Makes the entityId look at certain position</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id. </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">fov </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">vec3 to look at </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="!!OVERLOADED_AssignPFPropertiesToPathType_CScriptBind_AI">
<DIV class="Element5">AssignPFPropertiesToPathType Method</DIV>
<DIV class="Element58"><A name="53756D6D617279"></A>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">This is the overview for the AssignPFPropertiesToPathType method overload.</P></DIV></DIV><A name="4F7665726C6F6164204C697374"></A>
<DIV class="Element14">Overload List</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element63">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table2">
<TBODY>
<TR>
<TD class="Element65" valign="top" width="40%">
<DIV class="Element66">Method </DIV></TD>
<TD class="Element65" valign="top" width="60%">
<DIV class="Element66">Description </DIV></TD></TR>
<TR>
<TD class="Element67" valign="top" width="40%">
<DIV class="Element68"><A href="http://confluence/#CScriptBind_AI__AssignPFPropertiesToPathType@IFunctionHandler__" mce_href="#CScriptBind_AI__AssignPFPropertiesToPathType@IFunctionHandler__">CScriptBind_AI::AssignPFPropertiesToPathType (IFunctionHandler *)</A> </DIV></TD>
<TD class="Element67" valign="top" width="60%">
<DIV class="Element68">Assign AgentPathfindingProperties to the given path type </DIV></TD></TR>
<TR>
<TD class="Element67" valign="top" width="40%">
<DIV class="Element68"><A href="http://confluence/#CScriptBind_AI__AssignPFPropertiesToPathType@string_@AgentPathfindingProperties_" mce_href="#CScriptBind_AI__AssignPFPropertiesToPathType@string_@AgentPathfindingProperties_">CScriptBind_AI::AssignPFPropertiesToPathType (string&, AgentPathfindingProperties&)</A> </DIV></TD>
<TD class="Element67" valign="top" width="60%">
<DIV class="Element68"> </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__BeginGoalPipe@IFunctionHandler__">
<DIV class="Element5">BeginGoalPipe</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.BeginGoalPipe(string szPipeName )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Creates a goal pipe and allows to start filling it.</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">szPipeName </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">goal pipe name </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__BeginGroup@IFunctionHandler__">
<DIV class="Element5">BeginGroup</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.BeginGroup()<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">to define group of goals</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__BeginTrackPattern@IFunctionHandler__">
<DIV class="Element5">BeginTrackPattern</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.BeginTrackPattern( patternName, flags, validationRadius, [stateTresholdMin], [stateTresholdMax], [globalDeformTreshold], [localDeformTreshold], [exposureMod], [randomRotAng] )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Begins definition of a new track pattern descriptor. The pattern is created bu calling the AI.AddPatternPoint() and AI.AddPatternBranch() functions, and finalised by calling the AI.EndTrackPattern().</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">patternName </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">name of the new track pattern descriptor </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">flags </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">The functionality flags of the track pattern. </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">Validation </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">The validation method describes how the pattern is validated to fit the physical world. Should be one of: </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AITRACKPAT_VALIDATE_NONE </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">no validation at all. </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AITRACKPAT_VALIDATE_SWEPTSPHERE </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">validate using swept sphere tests, the spehre radius is validation radius plus the entity pass radius. </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AITRACKPAT_VALIDATE_RAYCAST </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">validate using raycasting, the hit position is pulled back by the amount of validation radius plus the entity pass radius. </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">Aligning </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">When the pattern is selected to be used the alignment of the patter ncan be changed. The alignment can be combination of the following. The descriptions are in order they are evaluated. </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AITRACKPAT_ALIGN_TO_TARGET </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Align the pattern so that the y-axis will point towards the target each time it is set. If the agent does not have valid attention target at the time the pattern is set the pattern will be aligned to the world. </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AITRACKPAT_ALIGN_RANDOM </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Align the pattern randonly each time it is set. The rotation ranges are set using SetRandomRotation(). </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">validationRadius </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">the validation radius is added to the entity pass radius when validating the pattern along the offsets. stateTresholdMin (optional) - If the state of the pattern is 'enclosed' (high deformation) and the global deformation < stateTresholdMin, the state becomes exposed. Default 0.35. stateTresholdMax (optional) - If the state of the pattern is 'exposed' (low deformation) and the global deformation > stateTresholdMax, the state becomes enclosed. Default 0.4. globalDeformTreshold (optional) - the deformation of the whole pattern is tracked in range [0..1]. This treshold value can be used to clamp the bottom range, so that values in range [trhd..1] becomes [0..1], default 0.0. localDeformTreshold (optional) - the deformation of the each node is tracked in range [0..1]. This treshold value can be used to clamp the bottom range, so that values in range [trhd..1] becomes [0..1], default 0.0. exposureMod (optional) - the exposure modifier allows to take the node exposure (how much it is seen by the tracked target) into account when branching. The modifier should be in range [-1..1], -1 means to favor unseen nodes, and 1 means to favor seen, exposed node. Default 0 (no effect). randomRotAng (optional) - each time the pattern is set, it can be optionally rotated randomly. This parameter allows to define angles (in degrees) around each axis. The rotation is performed in XYZ order. </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="4578616D706C65"></A>
<DIV class="Element14">Example</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">AI.BeginTrackPattern( "mypattern", AITRACKPAT_VALIDATE_SWEPTSPHERE, 1.0 );</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__CanFireInStance@IFunctionHandler__">
<DIV class="Element5">CanFireInStance</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.CanFireInStance(entityId,stance)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Returns if AI can fire at his target in the given stance at his current position</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">stance </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Stance Id (STANCE_*) </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__CanMelee@IFunctionHandler__">
<DIV class="Element5">CanMelee</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.CanMelee(entityId)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">returns 1 if the AI is able to do melee attack.</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__CanMoveStraightToPoint@IFunctionHandler__">
<DIV class="Element5">CanMoveStraightToPoint</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.CanMoveStraightToPoint(entityId, position)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Returns true if the entity can move to the specified position in a straight line (no multiple segment path necessary)</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">position </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">the position to check </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">true if the position can be reached in a straight line</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__ChangeFormation@IFunctionHandler__">
<DIV class="Element5">ChangeFormation</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.ChangeFormation(entityId, name [,scale] )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Changes the formation descriptor for the current formation of given entity's group (if there is a formation)</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">entity id of which group the formation is changed </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">name </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">name of the formation descriptor scale (optional) - scale factor (1 = default) </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">true if the formation change was successful</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__ChangeMovementAbility@IFunctionHandler__">
<DIV class="Element5">ChangeMovementAbility</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.ChangeMovementAbility( entityId, paramEnum, paramValue )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Changes an enumerated AI movement ability parameter.</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">entity id </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">paramEnum </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">the parameter to change, should be one of the following: </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AIMOVEABILITY_OPTIMALFLIGHTHEIGHT </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247"></DIV>
<UL class="Element630">
<LI class="Element600">flight height while finding path (meters).</LI></UL>
<P class="Element247"> </P></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AIMOVEABILITY_MINFLIGHTHEIGHT </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">minimum flight height while finding path (meters). </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AIMOVEABILITY_MAXFLIGHTHEIGHT </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">maximum flight height while finding path (meters). </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">paramValue </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">new parameter value, see above for type and meaning. </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__ChangeParameter@IFunctionHandler__">
<DIV class="Element5">ChangeParameter</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.ChangeParameter( entityId, paramEnum, paramValue )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Changes an enumerated AI parameter.</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">entity id </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">paramEnum </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">the parameter to change, should be one of the following: </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AIPARAM_SIGHTRANGE </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">sight range in (meters). </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AIPARAM_ATTACKRANGE </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">attack range in (meters). </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AIPARAM_ACCURACY </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">firing accuracy (real [0..1]). </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AIPARAM_AGGRESION </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">aggression (real [0..1]). </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AIPARAM_GROUPID </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">group id (integer). </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AIPARAM_FOV_PRIMARY </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">primary field of vision (degrees). </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AIPARAM_FOV_SECONDARY </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">pheripheral field of vision (degrees). </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AIPARAM_COMMRANGE </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">communication range (meters). </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AIPARAM_FWDSPEED </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">forward speed (vehicles only). </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AIPARAM_RESPONSIVENESS </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">responsiveness (real). </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AIPARAM_SPECIES </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">entity species (integer). </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AIPARAM_RANK </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">unit rank (integer). </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AIPARAM_TRACKPATTERN </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">track pattern name (string). </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AIPARAM_TRACKPATTERN_ADVANCE </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">track pattern advancing (0 = stop, 1 = advance). </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">paramValue </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">new parameter value, see above for type and meaning. </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__CheckMeleeDamage@IFunctionHandler__">
<DIV class="Element5">CheckMeleeDamage</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.CheckMeleeDamage(entityId,targetId,radius,minheight,maxheight,angle)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">returns 1 if the AI performing melee is actually hitting target.</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">targetId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's target entity id </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">radius </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">max distance in 2d to target </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">minheight </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">min distance in height </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">maxheight </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">max distance in height </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">angle </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">FOV to include target </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">(distance,angle) pair between entity and target (degrees) if melee is possible, nil otherwise</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__ClearForReload@IFunctionHandler__">
<DIV class="Element5">ClearForReload</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.ClearForReload(string szPipeName)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Clears all goalpipes from the system</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__ClearPotentialTargets@IFunctionHandler__">
<DIV class="Element5">ClearPotentialTargets</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.ClearPotentialTargets(entityId)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Clears all the potential targets from the AI's perception handler</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__ClearTempTarget@IFunctionHandler__">
<DIV class="Element5">ClearTempTarget</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.ClearTempTarget(entityId,)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Removes the entity's temporary potential target, so it is no longer considered for target selection</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">true if cleared</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__ConstrainPointInsideGenericShape@IFunctionHandler__">
<DIV class="Element5">ConstrainPointInsideGenericShape</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.ConstrainPointInsideGenericShape(position, shapeName, )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Returns the nearest point inside specified shape. position - the position to check shapeName - the name of the shape to use as constraint. checkHeight - (optional) Default=false, if the flag is set the height should be constrained too.</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__CreateFormation@IFunctionHandler__">
<DIV class="Element5">CreateFormation</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.CreateFormation( string name )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Creates a formation descriptor and adds a fixed node at 0,0,0 (owner's node)</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">name </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">name of the new formation descriptor </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__CreateGoalPipe@IFunctionHandler__">
<DIV class="Element5">CreateGoalPipe</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.CreateGoalPipe(string szPipeName )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Used for warnings about data/script errors</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">szPipeName </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">goal pipe name </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__CreateGroupFormation@IFunctionHandler__">
<DIV class="Element5">CreateGroupFormation</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.CreateGroupFormation(entityId, leaderId)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Creates a group formation with leader (or updates leader)</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">leaderId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">New leader </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__CreateQueryFromTacticalSpec@SmartScriptTable">
<DIV class="Element5">CScriptBind_AI::CreateQueryFromTacticalSpec Method</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1"><STRONG><FONT color="#871f78" style="FONT-FAMILY: ; COLOR: ">int</FONT></STRONG> <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">CreateQueryFromTacticalSpec</FONT></STRONG>(SmartScriptTable <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">specTable</FONT></STRONG>);<PRE></PRE></DIVRE></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__CreateTempGenericShapeBox@IFunctionHandler__">
<DIV class="Element5">CreateTempGenericShapeBox</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.CreateTempGenericShapeBox(center, radius, height, type)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Creates a temporary box shaped generic shape (will be destroyed upon AIsystem reset). Returns the name of the shape. center - the center of the box radius - the extend of the box in x and y directions. height - the height of the box. type - the AIanchor type of the shape.</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__DebugReportHitDamage@IFunctionHandler__">
<DIV class="Element5">DebugReportHitDamage</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.DebugReportHitDamage(pVictimEntity, pShooterEntity)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Creates a debug report for the hit damage.</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">pVictimEntity </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Victim ID. </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">pShooterEntity </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Shooter ID. </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__DistanceToGenericShape@IFunctionHandler__">
<DIV class="Element5">DistanceToGenericShape</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.DistanceToGenericShape(position, shapeName, )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Returns true if the point is inside the specified shape. position - the position to check shapeName - the name of the shape to test (returned by AI.GetEnclosingGenericShapeOfType) checkHeight - (optional) if the flag is set the height of the shape is tested too. The test will check space between the shape.aabb.min.z and shape.aabb.min.z+shape.height.</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__DropTarget@IFunctionHandler__">
<DIV class="Element5">DropTarget</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.DropTarget(entityId, targetId)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Clears the target from the AI's perception handler</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">targetId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">target's entity id </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__EnableCoverFire@IFunctionHandler__">
<DIV class="Element5">EnableCoverFire</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.EnableCoverFire(entityId,enable)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">enables/disables fire when the FIREMODE_COVER is selected</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">enable </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">boolean </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__EnableFire@IFunctionHandler__">
<DIV class="Element5">EnableFire</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.EnableFire(entityId,enable)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">enables/disables fire</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">enable </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">boolean </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__EnableWeaponAccessory@IFunctionHandler__">
<DIV class="Element5">EnableWeaponAccessory</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.EnableWeaponAccessory(entityId, accessory, state)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Enables or disables certain weapon accessory usage.</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">accessory </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">enum of the accessory to enable (see EAIWeaponAccessories) </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">state </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">true/false to enable/disable </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__EndGoalPipe@IFunctionHandler__">
<DIV class="Element5">EndGoalPipe</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.EndGoalPipe()<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Ends creating a goal pipe</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__EndGroup@IFunctionHandler__">
<DIV class="Element5">EndGroup</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.EndGroup()<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">to define end of group of goals</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__EndTrackPattern@IFunctionHandler__">
<DIV class="Element5">EndTrackPattern</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.EndTrackPattern()<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Finalizes the track pattern definition. This function should always called to finalize the pattern. Failing to do so, will cause erratic behavior.</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__Error@IFunctionHandler__">
<DIV class="Element5">Error</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.Error(string szMessage )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Used when we really can't handle some data/situation. The code following this should struggle on so that the original cause (e.g. data) of the problem can be fixed in the editor, but in game this would halt execution</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">szMessage </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">message line to be displayed in log </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__EvalPeek@IFunctionHandler__">
<DIV class="Element5">EvalPeek</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.EvalPeek(entityId, bGetOptimalSide)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Evaluates if an AI object can peek from his current position entityId - AI's entity id bGetOptimalSide (optional) - If TRUE, and AI object can peek from both sides, will return the side that best fits where the attention target currently is</P></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">-1 - don't need to peek 0 - cannot peek 1 - can peek from left 2 - can peek from right 3 - can peek from left & right</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__ExecuteAction@IFunctionHandler__">
<DIV class="Element5">ExecuteAction</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.ExecuteAction( action, participant1 [, participant2 [, ... , participantN ] ] )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Executes an Action on a set of Participants</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">action </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Smart Object Action name or id </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">participant1 </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">entity id of the first Participant in the Action (optional) participant2..N - entity ids of other participants </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__FindObjectOfType@IFunctionHandler__">
<DIV class="Element5">FindObjectOfType</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.FindObjectOfType(entityId, radius, AIObjectType, flags [,returnPosition [,returnDirection]]) | AI.FindObjectOfType(position, radius, AIObjectType, [,returnPosition [,returnDirection]])<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">returns the closest AIObject of a given type around a given entity/position; once an AIObject is found, it's devalued and can't be found again for some seconds (unless specified in flags)</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id as a center position of the search (if 1st parameter is not a vector) </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">position </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">center position of the search (if 1st parameter is not an entity id) </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">radius </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">radius inside which the object must be found </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AIObjectType </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AIObject type; see ScriptBindAI.cpp and Scripts/AIAnchor.lua for a complete list of AIObject types available </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">flags </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">filter for AI Objects to search, which can be the sum of one or more of the following values: </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AIFAF_VISIBLE_FROM_REQUESTER </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Requires whoever is requesting the anchor to also have a line of sight to it </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AIFAF_VISIBLE_TARGET </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Requires that there is a line of sight between target and anchor </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AIFAF_INCLUDE_DEVALUED </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">don't care if the object is devalued </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AIFAF_INCLUDE_DISABLED </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">don't care if the object is disabled (optional) returnPosition - position of the found object (optional) returnDirection - direction of the found object </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">the found AIObject's name (nil if not found)</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__FindStandbySpotInShape@IFunctionHandler__">
<DIV class="Element5">CScriptBind_AI::FindStandbySpotInShape Method</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1"><STRONG><FONT color="#871f78" style="FONT-FAMILY: ; COLOR: ">int</FONT></STRONG> <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">FindStandbySpotInShape</FONT></STRONG>(IFunctionHandler * <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">pH</FONT></STRONG>);<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">AI.FindStandbySpotInShape(centerPos, targetPos, anchorType);</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__FindStandbySpotInSphere@IFunctionHandler__">
<DIV class="Element5">CScriptBind_AI::FindStandbySpotInSphere Method</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1"><STRONG><FONT color="#871f78" style="FONT-FAMILY: ; COLOR: ">int</FONT></STRONG> <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">FindStandbySpotInSphere</FONT></STRONG>(IFunctionHandler * <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">pH</FONT></STRONG>);<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">AI.FindStandbySpotInShape(centerPos, targetPos, anchorType);</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__FreeSignal@IFunctionHandler__">
<DIV class="Element5">FreeSignal</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.FreeSignal(int signalType, string SignalText, position, radius [, entityID [,signalExtraData]] )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Sends a signal to anyone in a given radius around a position</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GenerateUniqueTacticGroupId@IFunctionHandler__">
<DIV class="Element5">GenerateUniqueTacticGroupId</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GenerateUniqueTacticGroupId( )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Returns a unique tactic group Id to use</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetAIObjectPosition@IFunctionHandler__">
<DIV class="Element5">GetAIObjectPosition</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetAIObjectPosition(entityId | string AIObjectName)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">get the given AIObject's position</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">Return </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI Object position vector {x,y,z} </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetAnchor@IFunctionHandler__">
<DIV class="Element5">GetAnchor</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetAnchor(entityId, radius, AIAnchorType, searchType [,returnPosition [,returnDirection]]) |<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">returns the closest Anchor of a given type around a given entity; once an Anchor is found, it's devalued and can't be found again for some seconds (unless specified in flags)</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id as a center position of the search </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">radius </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">radius inside which the object must be found. Alternatively a search range can be specified {min=minRad,max=maxRad}. </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AIAnchorType </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Anchor type; see Scripts/AIAnchor.lua for a complete list of Anchor types available </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">searchType </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">search type filter, which can be one of the following values: </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AIANCHOR_NEAREST </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">(default) the nearest anchor of the given type </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AIANCHOR_NEAREST_IN_FRONT </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">the nearest anchor inside the front cone of entity </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AIANCHOR_NEAREST_FACING_AT </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">the nearest anchor of given type which is oriented towards entity's attention target (...Dejan? ) </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AIANCHOR_RANDOM_IN_RANGE </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">a random anchor of the given type </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AIANCHOR_NEAREST_TO_REFPOINT </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">the nearest anchor of given type to the entity's reference point (optional) returnPosition - position of the found object (optional) returnDirection - direction of the found object </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">the found Anchor's name (nil if not found)</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetAttentionTargetDirection@IFunctionHandler__">
<DIV class="Element5">GetAttentionTargetDirection</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetAttentionTargetDirection(entityId, returnDir)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">returns the given entity's attention target's direction</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">returnDir </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">vector {x,y,z} passed as a return value (attention target 's direction) </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetAttentionTargetDistance@IFunctionHandler__">
<DIV class="Element5">GetAttentionTargetDistance</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetAttentionTargetDistance(entityId)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">returns the given entity's attention target's distance to the entity</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">distance to the attention target (nil if no target)</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetAttentionTargetEntity@IFunctionHandler__">
<DIV class="Element5">GetAttentionTargetEntity</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetAttentionTargetEntity(entityId)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">returns the given entity's attention target entity (if it is an entity) or the owner entity of the attention target if it is a dummy object (if there is an owner entity)</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">attention target's entity</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetAttentionTargetOf@IFunctionHandler__">
<DIV class="Element5">GetAttentionTargetOf</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetAttentionTargetOf(entityId)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">returns the given entity's attention target</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">attention target's name (nil if no target)</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetAttentionTargetPosition@IFunctionHandler__">
<DIV class="Element5">GetAttentionTargetPosition</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetAttentionTargetPosition(entityId, returnPos)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">returns the given entity's attention target's position</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">returnPos </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">vector {x,y,z} passed as a return value (attention target 's position) </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetAttentionTargetType@IFunctionHandler__">
<DIV class="Element5">GetAttentionTargetType</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetAttentionTargetType(entityId)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">returns the given entity's attention target type (AIOBJECT_*)</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">attention target's type (AIOBJECT_NONE if no target)</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetAttentionTargetViewDirection@IFunctionHandler__">
<DIV class="Element5">GetAttentionTargetViewDirection</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetAttentionTargetViewDirection(entityId, returnDir)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">returns the given entity's attention target's view direction</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">returnDir </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">vector {x,y,z} passed as a return value (attention target 's direction) </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetBeaconPosition@IFunctionHandler__">
<DIV class="Element5">GetBeaconPosition</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetBeaconPosition(entityId | string AIObjectName, returnPos)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">get the beacon's position for the given entity/object's group</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">returnPos </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">vector {x,y,z} where the beacon position will be set </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">Return </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">true if the beacon has been found and the position set </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetBehaviorBlackBoard@IFunctionHandler__">
<DIV class="Element5">GetObjectBlackBoard</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetBehaviorBlackBoard( entity )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">retrieves given AIActor current behavior's black board (a lua table)</P></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">black board - if there was one nil - Otherwise</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetBehaviorVariable@IFunctionHandler__@ScriptHandle@char_">
<DIV class="Element5">SetBehaviorTreeProfile</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SetBehaviorVariable( entity, variableName, value )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Returns a behavior variable for the specified actor</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetBiasedDirection@IFunctionHandler_">
<DIV class="Element5">GetBiasedDirection</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetBiasedDirection(entityId)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Get biased direction of certain point</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetBTTacticUsers@IFunctionHandler__">
<DIV class="Element5">GetBTTacticUsers</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetBTTacticUsers( entity, tactic )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Gets vector of users used by BT in this tactic</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">tactic </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Name of the tactic </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">vector of user tables or nil</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetCoordinationEnvironment@IFunctionHandler_@ScriptHandle">
<DIV class="Element5">GetCoordinationEnvironment</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetCoordinationEnvironment( coordinationID )<PRE></PRE></DIVRE></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetCoordinationInput@IFunctionHandler_@ScriptHandle@char_">
<DIV class="Element5">GetCoordinationInput</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetCoordinationInput( coordinationID, name )<PRE></PRE></DIVRE></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetCoverInfo@IFunctionHandler_">
<DIV class="Element5">GetCoverInfo</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetCoverInfo(entityId, usage, weaponOffset)<PRE></PRE></DIVRE></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">usage </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">retrieve usage info? </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">weaponOffset </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">if usage is true, then use this as the characters weapon offset </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">true - cover info successfully retrieve. nil - if not</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetCurrentCoordination@IFunctionHandler_@ScriptHandle">
<DIV class="Element5">GetCurrentCoordination</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetCurrentCoordination( entityID )<PRE></PRE></DIVRE></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetCurrentHideAnchor@IFunctionHandler__">
<DIV class="Element5">GetCurrentHideAnchor</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetCurrentHideAnchor(entityId)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Returns the name of the current anchor the entity is using for cover</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetDirectAnchorPos@IFunctionHandler__">
<DIV class="Element5">GetDirectAnchorPos</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetDirectAttackPos(entityId, searchRange, minAttackRange)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Returns a cover point which can be used to directly attack the attention target. Useful for choosing attack position for RPGs and such. Returns nil if no attack point is available.</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AIAnchorType </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Anchor type; see Scripts/AIAnchor.lua for a complete list of Anchor types available </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">maxDist </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">search range </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="4E6F746573"></A>
<DIV class="Element14">Notes</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Calling the function is quite heavy since it does raycasting.</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetDirLabelToPoint@IFunctionHandler__">
<DIV class="Element5">GetDirLabelToPoint</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetDirLabelToPoint(entityId, point)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Returns a direction label (front=0, back=1, left=2, right_3, above=4, -1=invalid) to the specified point.</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">point </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">point to evaluate. </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetDistanceAlongPath@IFunctionHandler__">
<DIV class="Element5">GetDistanceAlongPath</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetDistanceAlongPath(entityId1,entityid2)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">returns the distance between entity1 and entity2, along entity1's path</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId1 </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity1 id </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId2 </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity2 id </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">distance along entity1 path; distance value would be negative if the entity2 is ahead along the path</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetEnclosingGenericShapeOfType@IFunctionHandler__">
<DIV class="Element5">GetEnclosingGenericShapeOfType</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetEnclosingGenericShapeOfType(position, type, )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Returns the name of the first shape that is enclosing the specified point and is of specified type position - the position to check type - the type of the shapes to check against (uses anchor types). checkHeight - (optional) Default=false, if the flag is set the height of the shape is tested too. The test will check space between the shape.aabb.min.z and shape.aabb.min.z+shape.height.</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetEnclosingSpace@IFunctionHandler__">
<DIV class="Element5">CScriptBind_AI::GetEnclosingSpace Method</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1"><STRONG><FONT color="#871f78" style="FONT-FAMILY: ; COLOR: ">int</FONT></STRONG> <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">GetEnclosingSpace</FONT></STRONG>(IFunctionHandler * <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">pH</FONT></STRONG>);<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Returns the estimated surrounding navigable space in meters.</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetEntityFromParam@IFunctionHandler__@int">
<DIV class="Element5">CScriptBind_AI::GetEntityFromParam Method</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">IEntity * <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">GetEntityFromParam</FONT></STRONG>(IFunctionHandler * <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">pH</FONT></STRONG>, <STRONG><FONT color="#871f78" style="FONT-FAMILY: ; COLOR: ">int</FONT></STRONG> <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">i</FONT></STRONG>);<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Fetch entity pointer from script parameter</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetEntityIdFromParam@IFunctionHandler__@int">
<DIV class="Element5">CScriptBind_AI::GetEntityIdFromParam Method</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">EntityId <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">GetEntityIdFromParam</FONT></STRONG>(IFunctionHandler * <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">pH</FONT></STRONG>, <STRONG><FONT color="#871f78" style="FONT-FAMILY: ; COLOR: ">int</FONT></STRONG> <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">i</FONT></STRONG>);<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Fetch entity ID from script parameter</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetEntityInRange@IFunctionHandler__">
<DIV class="Element5">GetEntityInRange</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetEntityInRange(entityId, filter, minDistance, maxDistance)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Retrieves a closes entity in a given range respecting a given filter</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's source entity id </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">filter </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">filter applied </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">minDistance </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">minimal distance from source entity to a searched one </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">maxDistance </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">maximum distance from source entity to a searched one </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetEntityTacticGroupId@IFunctionHandler__">
<DIV class="Element5">GetEntityTacticGroupId</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetEntityTacticGroupId( entity )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Gets which tactic group Id an entity belongs to</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">Return </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">The tactic group Id or nil on error </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetFormationLookingPoint@IFunctionHandler__">
<DIV class="Element5">GetFormationLookingPoint</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetFormationLookingPoint(entityId)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Gets the looking point position inside the formation</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">v3 - Table with format {x,y,z} storing the looking point position</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetFormationPointClass@IFunctionHandler__">
<DIV class="Element5">AddFormationPoint</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.AddFormationPoint(name, distance,offset,sightangle, [unit_class [,distanceAlt,offsetAlt]] )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Adds a follow-type node to a formation descriptor</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">name </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">name of the formation descriptor </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">position </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">point index in the formation (1..N) </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">class of specified formation point (-1 if not found)</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetFormationPointPosition@IFunctionHandler__">
<DIV class="Element5">GetFormationPointPosition</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetFormationPointPosition(entityId,pos )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">gets the AI's formation point position</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">pos </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">return value- position of entity AI's current formation point if there is </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">true if the formation point has been found</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetFormationPosition@IFunctionHandler__">
<DIV class="Element5">GetFormationPosition</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetFormationPosition(entityId)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Gets the Relative position inside the formation</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">v3 - Table with format {x,y,z} storing the relative position</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetForwardDir@IFunctionHandler__">
<DIV class="Element5">CScriptBind_AI::GetForwardDir Method</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1"><STRONG><FONT color="#871f78" style="FONT-FAMILY: ; COLOR: ">int</FONT></STRONG> <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">GetForwardDir</FONT></STRONG>(IFunctionHandler * <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">pH</FONT></STRONG>);<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Attention Target / perception related functions</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetGroupAveragePosition@IFunctionHandler__">
<DIV class="Element5">GetGroupAveragePosition</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetGroupAveragePosition(entityId, properties, returnPos)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">gets the average position of the (leader's) group members</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id which group/leader is determined </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">unitProperties </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">binary mask of unit properties type for which the attack is requested (in the form of UPR_* + UPR* i.e. UPR_COMBAT_GROUND + UPR_COMBAT_FLIGHT) see IAgent.h for definition of unit properties UPR_* </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">returnPos </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">returned average position </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetGroupCount@IFunctionHandler__">
<DIV class="Element5">GetGroupCount</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetGroupCount(entityId, flags, type)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">returns the given entity's group members count</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">flags </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">combination of following flags: </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">GROUP_ALL </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Returns all agents in the group (default). </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">GROUP_ENABLED </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Returns only the count of enabled agents (exclusive with all). </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">GROUP_MAX </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Returns the maximum number of agents during the game (can be combined with all or enabled). </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">type </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">allows to filter to return only specific AI objects by type (cannot be used in together with GROUP_MAX flag). </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">group members count</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetGroupMember@IFunctionHandler__">
<DIV class="Element5">GetGroupMember</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetGroupMember(entityId|groupId,idx,flags,type)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">returns the idx-th entity in the given group</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">idx </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">index (1..N) </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">flags </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">combination of following flags: </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">GROUP_ALL </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Returns all agents in the group (default). </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">GROUP_ENABLED </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Returns only the count of enabled agents (exclusive with all). </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">type </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">allows to filter to return only specific AI objects by type (cannot be used in together with GROUP_MAX flag). </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">script handler of idx-th entity (null if idx is out of range)</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetGroupOf@IFunctionHandler__">
<DIV class="Element5">GetGroupOf</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetGroupOf(entityId)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">returns the given entity's group id</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">group id of given entity</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetGroupSpatialProperties@IAIObject_@float_@Vec3_@Vec3_@Vec3_@Vec3_">
<DIV class="Element5">CScriptBind_AI::GetGroupSpatialProperties Method</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1"><STRONG><FONT color="#871f78" style="FONT-FAMILY: ; COLOR: ">bool</FONT></STRONG> <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">GetGroupSpatialProperties</FONT></STRONG>(IAIObject* <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">pRequester</FONT></STRONG>, <STRONG><FONT color="#871f78" style="FONT-FAMILY: ; COLOR: ">float</FONT></STRONG>& <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">offset</FONT></STRONG>, Vec3& <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">avgGroupPos</FONT></STRONG>, Vec3& <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">targetPos</FONT></STRONG>, Vec3& <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">dirToTarget</FONT></STRONG>, Vec3& <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">normToTarget</FONT></STRONG>);<PRE></PRE></DIVRE></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetGroupTarget@IFunctionHandler__">
<DIV class="Element5">GetGroupTarget</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetGroupTarget(entityId [,bHostileOnly [,bLiveOnly]])<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Returns the most threatening attention target amongst the agents in the given entity's group (see IAgent.h for definition of alert status)</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id which group is determined bHostileOnly (optional) - filter only hostile targets in group bLiveOnly (optional) - filter only live targets in group (entities) </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetGroupTargetCount@IFunctionHandler__">
<DIV class="Element5">GetGroupTargetCount</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetGroupTargetCount(entityId [,bHostileOnly [,bLiveOnly]])<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Returns the number of attention targets amongst the agents in the given entity's group</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id which group is determined bHostileOnly (optional) - filter only hostile targets in group bLiveOnly (optional) - filter only live targets in group (entities) </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetHeliAdvancePoint@IFunctionHandler__">
<DIV class="Element5">CScriptBind_AI::GetHeliAdvancePoint Method</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1"><STRONG><FONT color="#871f78" style="FONT-FAMILY: ; COLOR: ">int</FONT></STRONG> <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">GetHeliAdvancePoint</FONT></STRONG>(IFunctionHandler * <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">pH</FONT></STRONG>);<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Helicopter/VTOL related functions /////////////////////////////////////////////////////////////////////////////////////////////////////// Helicopter combat, should be merged with GetAlienApproachParams</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetLastSmartObjectExitPoint@IFunctionHandler__">
<DIV class="Element5">GetLastSmartObjectExitPoint</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetLastSmartObjectExitPoint( userEntityId, pos)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Returns the last used navigational smart object's exit point</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">usedEntityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">entity id of the user for which its last used smart object is needed </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">pos </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">returned position of last used navigational smartobject's exit point </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">true if the operation was successful</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetLastUsedSmartObject@IFunctionHandler__">
<DIV class="Element5">GetLastUsedSmartObject</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetLastUsedSmartObject( userEntityId )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Returns the last used smart object</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">usedEntityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">entity id of the user for which its last used smart object is needed </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">nil if there's no last used smart object (or if an error has occurred) or the script table of the entity which is the last used smart object</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetLeader@IFunctionHandler__">
<DIV class="Element5">GetLeader</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetLeader(groupID | entityID )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">returns the leader's name of the given groupID / entity</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">groupID </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">group id </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityID </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">entity (id) of which we want to find the leader </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetMemoryFireType@IFunctionHandler__">
<DIV class="Element5">GetMemoryFireType</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetMemoryFireType(entityId)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Returns how the puppet handles firing at its memory target</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Memory fire type (see EMemoryFireType)</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetNavigationType@IFunctionHandler__">
<DIV class="Element5">GetNavigationType</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetNavigationType(entityId)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">returns the navigation type value at the specified entity's position, given the entity navigation properties</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">navigation type at the entity's position (NAV_TRIANGULAR,NAV_WAYPOINT_HUMAN,NAV_ROAD,NAV_VOLUME,NAV_WAYPOINT_3DSURFACE, NAV_FLIGHT,NAV_SMARTOBJECT) see IAISystem::ENavigationType definition</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetNearestEntitiesOfType@IFunctionHandler__">
<DIV class="Element5">GetNearestEntitiesOfType</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetNearestEntitiesOfType(entityId|objectname|position, AIObjectType, maxObjects, returnList [,objectFilter [,radius]]) |<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">returns a list of the closest N entities of a given AIObjkect type associated the found objects are then devalued</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">radius </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">radius inside which the entities must be found </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AIObjectType </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AIObject type; see ScriptBindAI.cpp and Scripts/AIAnchor.lua for a complete list of AIObject types available </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">maxObjects </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">maximum number of objects to find return list - Lua table which will be filled up with the list of the found entities (Lua handlers) (optional) objectFilter - search type filter, which can be the sum of one or more of the following values: </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AIOBJECTFILTER_SAMESPECIES </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI objects of the same species of the querying object </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AIOBJECTFILTER_SAMEGROUP </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI objects of the same group of the querying object or with no group AIOBJECTFILTER_NOGROUP :AI objects with Group ID ==AI_NOGROUP AIOBJECTFILTER_INCLUDEINACTIVE :Includes objects which are inactivated. (optional) radius - serch range( default 30m ) </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">the number of found entities</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetNearestHidespot@IFunctionHandler__">
<DIV class="Element5">GetNearestHidespot</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetNearestHidespot(entityId, rangeMin, rangeMax <, center>)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Returns position of a nearest hidepoint within specified range, returns nil if no hidepoint is found. entityId - AI's entity id rangeMin/rangeMax - specifies the min/max range where the hidepoints are looked for. center - (optional) specifies the center of search. If not specified, the entity position is used.</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetNearestPathOfTypeInRange@IFunctionHandler__">
<DIV class="Element5">GetNearestPathOfTypeInRange</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetNearestPathOfTypeInRange(entityId, pos, range, type <, devalue, useStartNode>)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Queries a nearest path of specified type. The type uses same types as anchors and is specified in the path properties. The function will only return paths that match the requesters (entityId) navigation caps. The nav type is also specified in the path properties. entityId - AI's entity id pos - a vector specifying to the point of interest. Path nearest to this position is returned. range - search range. If useStartNode=1, paths whose start point are within this range are returned or if useStartNode=0 nearest distance to the path is calculated and compared against the range. type - type of path to return. devalue - (optional) specifies the time the returned path is marked as occupied. useStartNode - (optional) if set to 1 the range check will use distance to the start node on the path, else nearest distance to the path is used.</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetNearestPathOfTypeInRange@IFunctionHandler__">
<DIV class="Element5">GetNearestPathOfTypeInRange</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetNearestPathOfTypeInRange(entityId, pos, range, type <, devalue, useStartNode>)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Queries a nearest path of specified type. The type uses same types as anchors and is specified in the path properties. The function will only return paths that match the requesters (entityId) navigation caps. The nav type is also specified in the path properties. entityId - AI's entity id pos - a vector specifying to the point of interest. Path nearest to this position is returned. range - search range. If useStartNode=1, paths whose start point are within this range are returned or if useStartNode=0 nearest distance to the path is calculated and compared against the range. type - type of path to return. devalue - (optional) specifies the time the returned path is marked as occupied. useStartNode - (optional) if set to 1 the range check will use distance to the start node on the path, else nearest distance to the path is used.</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetNearestPointOnPath@IFunctionHandler__">
<DIV class="Element5">CScriptBind_AI::GetNearestPointOnPath Method</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetNearestPointOnPath( entityId, pathname , vPos )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">returns a nearest point on the path from vPos entityId - AI's entity id pathname - designers path name</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetNextNodeRequested@IFunctionHandler__">
<DIV class="Element5">GetNextNodeRequested</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetNextNodeRequested( entity )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Returns next node requested by BT</P></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">next node - if requested nil - Otherwise</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetObjectBlackBoard@IFunctionHandler__">
<DIV class="Element5">GetObjectBlackBoard</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetObjectBlackBoard( entity )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">retrieves given object's black board (a lua table)</P></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">black board - if there was one nil - Otherwise</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetObjectRadius@IFunctionHandler__">
<DIV class="Element5">GetObjectRadius</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetObjectRadius(entityId)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Returns the radius of specified AI object. entityId - AI's entity id</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetParameter@IFunctionHandler__">
<DIV class="Element5">GetParameter</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetParameter( entityId, paramEnum )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Changes an enumerated AI parameter.</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">entity id </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">paramEnum </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">index of the parameter to get, see AI.ChangeParameter() for complete list </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">parameter value INTEGRATION : (MATT) GetAIParameter will appear from main branch and is duplicate {2007/08/03:11:00:39} Embracing and extending their code whilst keeping the old name - wish to remain consistent with ChangeParameter above</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetPathLoop@IFunctionHandler__">
<DIV class="Element5">CScriptBind_AI::GetPathLoop Method</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetPathSegNoOnPath( entityId, pathname )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">returns true if the path is looped entityId - AI's entity id pathname - designers path name</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetPathSegNoOnPath@IFunctionHandler__">
<DIV class="Element5">CScriptBind_AI::GetPathSegNoOnPath Method</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetPathSegNoOnPath( entityId, pathname , vPos )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">returns segment ratio ( 0.0 start point 100.0 end point ) entityId - AI's entity id pathname - designers path name</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetPathTypeName@EAIPathType">
<DIV class="Element5">CScriptBind_AI::GetPathTypeName Method</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1"><STRONG><FONT color="#871f78" style="FONT-FAMILY: ; COLOR: ">static</FONT></STRONG> <STRONG><FONT color="#871f78" style="FONT-FAMILY: ; COLOR: ">const</FONT></STRONG> <STRONG><FONT color="#871f78" style="FONT-FAMILY: ; COLOR: ">char</FONT></STRONG>* <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">GetPathTypeName</FONT></STRONG>(EAIPathType <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">pathType</FONT></STRONG>);<PRE></PRE></DIVRE></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetPlayerThreatLevel@IFunctionHandler__">
<DIV class="Element5">GetPlayerThreatLevel</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetPlayerThreatValue()<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Returns the value of player’s threat level (float number from 0 to 1.0)</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetPointOnPathBySegNo@IFunctionHandler__">
<DIV class="Element5">CScriptBind_AI::GetPointOnPathBySegNo Method</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetPathSegNoOnPath( entityId, pathname , segNo )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">returns point by segment ratio ( 0.0 start point 100.0 end point ) entityId - AI's entity id segNo - segment ratio pathname - designers path name</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetPosturePriority@IFunctionHandler__@ScriptHandle@char_@float">
<DIV class="Element5">CScriptBind_AI::GetPosturePriority Method</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetPosturePriority(entityId, postureName)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Set the given entity's posture priority</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetPredictedPosAlongPath@IFunctionHandler__">
<DIV class="Element5">CScriptBind_AI::GetPredictedPosAlongPath Method</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetPredictedPosAlongPath( entityId, time,retPos )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Get's the agent preticted position along his path at a given time entityId - AI's entity id time - prediction time (sec) retPos - return point value return: true if successful</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetProbableTargetPosition@IFunctionHandler__">
<DIV class="Element5">GetProbableTargetPosition</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetProbableTargetPosition(entityId)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Returns the probable target position of the AI. entityId - AI's entity id</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetRefPointDirection@IFunctionHandler__">
<DIV class="Element5">GetRefPointDirection</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetRefPointDirection(entity Ent )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Get the entity's reference point direction</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">ent </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">entity id </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">(script)vector (x,y,z) reference point direction</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetRefPointPosition@IFunctionHandler__">
<DIV class="Element5">GetRefPointPosition</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetRefPointPosition(entity Ent)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Get the entity's reference point World position</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">ent </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">entity id </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">(script)vector (x,y,z) reference point position</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetRefShapeName@IFunctionHandler__">
<DIV class="Element5">GetRefShapeName</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetRefShapeName(entityId)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Returns the reference shape name.</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">the ID if the entity </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetSignalExtraData@IFunctionHandler__@int@IAISignalExtraData_">
<DIV class="Element5">CScriptBind_AI::GetSignalExtraData Method</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1"><STRONG><FONT color="#871f78" style="FONT-FAMILY: ; COLOR: ">bool</FONT></STRONG> <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">GetSignalExtraData</FONT></STRONG>(IFunctionHandler * <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">pH</FONT></STRONG>, <STRONG><FONT color="#871f78" style="FONT-FAMILY: ; COLOR: ">int</FONT></STRONG> <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">iParam</FONT></STRONG>, IAISignalExtraData* <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">pEData</FONT></STRONG>);<PRE></PRE></DIVRE></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetSoundPerceptionDescriptor@IFunctionHandler__">
<DIV class="Element5">GetSoundPerceptionDescriptor</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetSoundPerceptionDescriptor(entityId, soundType, descriptorTable) <PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Fills descriptorTable with info about how perception works for the entity dealing with soundType</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">who to get the info from </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">soundType </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">what type of sound stimulus to get the info for </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">descriptorTable </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">where to store the info once retrieved </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">True if info was returned</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetSpeciesOf@IFunctionHandler__">
<DIV class="Element5">GetSpeciesOf</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetSpeciesOf(entityId)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">returns the given entity's species id</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">species id of given entity</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetStance@IFunctionHandler__">
<DIV class="Element5">CScriptBind_AI::GetStance Method</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetStance(entityId)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">get the given entity's stance</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">Return </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">entity stance (STANCE_*) </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetSubTypeOf@IFunctionHandler__">
<DIV class="Element5">GetSubTypeOf</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetSubTypeOf(entityId)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">returns the given entity's sub type</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">sub type of given entity (as defined in IAgent.h)</P></DIV></DIV><A name="546F646F"></A>
<DIV class="Element14">Todo</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">only returns subtypes below 26/06/2006 AIOBJECT_CAR AIOBJECT_BOAT AIOBJECT_HELICOPTER</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetTacticalPoints@IFunctionHandler__">
<DIV class="Element5">GetTacticalPoints</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetTacticalPoints( entityId, tacPointSpec, point )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Get a point matching a description, related to an entity. Format of a point is: { x,y,z }</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">tacPointSpec </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">table specifying the points required </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">point </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">a table put coordinates of point found </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">true - if a valid point was found false - Otherwise</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetTargetType@IFunctionHandler__">
<DIV class="Element5">GetTargetType</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetTargetType(entityId)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Returns the type of current entity's attention target (memory, human, none etc)</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Target type value (AITARGET_NONE,AITARGET_MEMORY,AITARGET_BEACON,AITARGET_ENEMY etc) - see IAgent.h for all definitions of target types</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetTotalLengthOfPath@IFunctionHandler__">
<DIV class="Element5">CScriptBind_AI::GetTotalLengthOfPath Method</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetTotalLengthOfPath( entityId, pathname )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">returns a total length of the path entityId - AI's entity id pathname - designers path name</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetTypeOf@IFunctionHandler__">
<DIV class="Element5">GetTypeOf</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetTypeOf(entityId)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">returns the given entity's type</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">type of given entity (as defined in IAgent.h)</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetUnitCount@IFunctionHandler__">
<DIV class="Element5">GetUnitCount</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetUnitCount(entityId, unitProperties)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Gets the number of units the leader knows about. The leader will be found based on the group id of the entity.</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">entity id </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">unitProperties </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">binary mask of the returned unit properties type (in the form of UPR_* + UPR* i.e. UPR_COMBAT_GROUND + UPR_COMBAT_FLIGHT) see IAgent.h for definition of unit properties UPR_* </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__GetUnitInRank@IFunctionHandler__">
<DIV class="Element5">GetUnitInRank</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.GetUnitInRank(groupID [,rank] )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Returns the entity in the group id in the given rank position, or the highest if rank == nil or rank <=0 the rank is specified in entity.Properties.nRank;</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">rank </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">rank position (the highest (1) if rank == nil or rank <=0) </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">entity script table of the ranked unit</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__Hostile@IFunctionHandler__">
<DIV class="Element5">Hostile</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.Hostile(entityId, entity2Id|AIObjectName)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">returns true if the two entities are hostile</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">1st AI's entity id entity2Id |AIObjectName - 2nd AI's entity id | 2nd AIobject's name </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">true if the entities are hostile</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__IgnoreCurrentHideObject@IFunctionHandler__">
<DIV class="Element5">IgnoreCurrentHideObject</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.IgnoreCurrentHideObject(entityId)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Marks the current hideobject unreachable (will be omitted from future hidespot selections).</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__IntersectsForbidden@IFunctionHandler__">
<DIV class="Element5">IsPointInForbiddenRegion</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.IsPointInFlightRegion(start,end)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">tank/warrior related functions ///////////////////////////////////////////////////////////////////////////////////////////////////////  </P>
<P class="Element10">check if the line is in a Forbidden Region</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">start </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">a vector in format {x,y,z} </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">end </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">a vector in format {x,y,z} </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">intersected position or end( if there is no intersection )</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__IsAgentInAgentFOV@IFunctionHandler__">
<DIV class="Element5">IsAgentInAgentFOV</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.IsAgentInAgentFOV(entityId, entityId2)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Check if the entity2 is within the entity FOV</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity who's FOV is checked </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId2 </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">that's entity is looking for ;) </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">1st value - TRUE if the agent is within the entity FOV 2nd value - TRUE if the agent is within the entity's primary FOV or FALSE if within secondry FOV</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__IsAgentInTargetFOV@IFunctionHandler__">
<DIV class="Element5">IsAgentInTargetFOV</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.IsAgentInTargetFOV(entityId, fov)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Checks if the entity is in the FOV of the attention target.</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id. </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">fov </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">FOV of the enemy in degrees. </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">true if in the FOV of the attention target else false.</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__IsCoverCompromised@IFunctionHandler__">
<DIV class="Element5">IsCoverCompromised</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.IsCoverCompromised(entityId)<PRE></PRE></DIVRE></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">true - Cover is not good anymore nil - if not</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__IsEnabled@IFunctionHandler__">
<DIV class="Element5">IsEnabled</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.IsEnabled( entityId )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Returns true if entity's AI is enabled</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">entity id </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__IsFireEnabled@IFunctionHandler__">
<DIV class="Element5">IsFireEnabled</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.IsFireEnabled(entityId)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">checks if ai is allowed to fire or not</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">wether AI is enabled to fire or not</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__IsGoalPipe@IFunctionHandler__">
<DIV class="Element5">IsGoalPipe</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.IsGoalPipe(string szPipeName)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Checks is a goalpipe of certain name exists already, returns true if pipe exists.</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">szPipeName </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">goalpipe name </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__IsInCover@IFunctionHandler_">
<DIV class="Element5">IsInCover</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.IsInCover(entityId)<PRE></PRE></DIVRE></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">true - if AI is using cover nil - if not</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__IsLowOnAmmo@IFunctionHandler__">
<DIV class="Element5">IsLowOnAmmo</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.IsLowOnAmmo(entityId)<PRE></PRE></DIVRE></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">threshold </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">the ammo percentage threshold </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__IsMoving@IFunctionHandler__">
<DIV class="Element5">CScriptBind_AI::IsMoving Method</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.IsMoving(entityId)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Returns true if the agent desires to move.</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__IsMovingToCover@IFunctionHandler__">
<DIV class="Element5">IsMovingToCover</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.IsMovingToCover(entityId)<PRE></PRE></DIVRE></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">true - Agent is running to cover nil - if not</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__IsOutOfAmmo@IFunctionHandler__">
<DIV class="Element5">IsOutOfAmmo</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.IsOutOfAmmo(entityId)<PRE></PRE></DIVRE></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">true - Entity is out of ammo nil - if not</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__IsPointInFlightRegion@IFunctionHandler__">
<DIV class="Element5">IsPointInFlightRegion</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.IsPointInFlightRegion(point)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">check if the point is in the Flight Region</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">point </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">a vector in format {x,y,z} </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">true - the point is in the Flight Region</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__IsPointInsideGenericShape@IFunctionHandler__">
<DIV class="Element5">IsPointInsideGenericShape</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.IsPointInsideGenericShape(position, shapeName, )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Returns true if the point is inside the specified shape. position - the position to check shapeName - the name of the shape to test (returned by AI.GetEnclosingGenericShapeOfType) checkHeight - (optional) Default=false, if the flag is set the height of the shape is tested too. The test will check space between the shape.aabb.min.z and shape.aabb.min.z+shape.height.</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__IsPointInWaterRegion@IFunctionHandler__">
<DIV class="Element5">IsPointInWaterRegion</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.IsPointInFlightRegion(point)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">check if the point is in the Flight Region</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">point </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">a vector in format {x,y,z} </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">the water level - ground level. if >0 means there is water.</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__IsPunchableObjectValid@IFunctionHandler__">
<DIV class="Element5">IsPunchableObjectValid</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.IsPunchableObjectValid(userId,objectId,origPos)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Checks if a punchable object is valid.</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">userId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">User ID. </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">objectId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Object ID. </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">origPos </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Object position in the world. </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__IsTakingCover@IFunctionHandler__">
<DIV class="Element5">IsTakingCover</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.IsTakingCover(entityId, [distanceThreshold])<PRE></PRE></DIVRE></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">distanceThreshold </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">distance over which if the agent is running to cover, he won't be considered as taking cover </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">true - Agent is either in cover or running to cover nil - if not</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__LoadBehaviours@IFunctionHandler__@char__@SmartScriptTable">
<DIV class="Element5">LoadBehaviours</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.LoadBehaviours( folderName, tbl)<PRE></PRE></DIVRE></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__LoadCharacters@IFunctionHandler__@char__@SmartScriptTable">
<DIV class="Element5">LoadCharacters</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.LoadCharacters( folderName, tbl)<PRE></PRE></DIVRE></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__LoadGoalPipes@IFunctionHandler_">
<DIV class="Element5">CScriptBind_AI::LoadGoalPipes Method</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1"><STRONG><FONT color="#871f78" style="FONT-FAMILY: ; COLOR: ">int</FONT></STRONG> <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">LoadGoalPipes</FONT></STRONG>(IFunctionHandler* <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">pH</FONT></STRONG>);<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">XML support for goal pipes</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__LoadNavMesh@IFunctionHandler__">
<DIV class="Element5">CScriptBind_AI::LoadNavMesh Method</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1"><STRONG><FONT color="#871f78" style="FONT-FAMILY: ; COLOR: ">int</FONT></STRONG> <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">LoadNavMesh</FONT></STRONG>(IFunctionHandler * <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">pH</FONT></STRONG>);<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">NOTE Oct 9, 2009: demand-loading layered navigation meshes</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__LogComment@IFunctionHandler__">
<DIV class="Element5">LogComment</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.LogComment(string szMessage )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Used to indicate info that would be useful for debugging, but there's too much of it for it to be enabled all the time</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">szMessage </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">message line to be displayed in log </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__LogEvent@IFunctionHandler__">
<DIV class="Element5">LogEvent</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.LogEvent(string szMessage )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Used to indicate event-driven info that would be useful for debugging (may occur on a per-frame or even per-AI-update basis)</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">szMessage </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">message line to be displayed in log </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__LogProgress@IFunctionHandler__">
<DIV class="Element5">LogProgress</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.LogProgress(string szMessage )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Used to indicate "progress markers" - e.g. during loading</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">szMessage </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">message line to be displayed in log </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__MeleePunchableObject@IFunctionHandler__">
<DIV class="Element5">MeleePunchableObject</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.MeleePunchableObject(entityId,objectId,origPos)<PRE></PRE></DIVRE></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity ID. </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">objectId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Object ID. </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">origPos </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Position of the melee punchable object </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__ModifySmartObjectStates@IFunctionHandler__">
<DIV class="Element5">ModifySmartObjectStates</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.ModifySmartObjectStates( entityId, listStates )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Adds/Removes smart object states of a given entity</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">entity id </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">listStates </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">names of the states to be added and removed (i.e. "Closed, Locked - Open, Unlocked, Busy") </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__ParsePostureInfo@CPuppet_@SmartScriptTable_@IPuppet__SPostureInfo_@int">
<DIV class="Element5">CScriptBind_AI::ParsePostureInfo Method</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1"><STRONG><FONT color="#871f78" style="FONT-FAMILY: ; COLOR: ">int</FONT></STRONG> <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">ParsePostureInfo</FONT></STRONG>(CPuppet* <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">pPuppet</FONT></STRONG>, <STRONG><FONT color="#871f78" style="FONT-FAMILY: ; COLOR: ">const</FONT></STRONG> SmartScriptTable& <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">posture</FONT></STRONG>, <STRONG><FONT color="#871f78" style="FONT-FAMILY: ; COLOR: ">const</FONT></STRONG> IPuppet::SPostureInfo& <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">base</FONT></STRONG>, <STRONG><FONT color="#871f78" style="FONT-FAMILY: ; COLOR: ">int</FONT></STRONG> <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">parentId</FONT></STRONG>);<PRE></PRE></DIVRE></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__ParseTables@int@bool@IFunctionHandler_@AIObjectParams_@bool_">
<DIV class="Element5">ParseTables</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.ParseTables( firstTable,parseMovementAbility,pH,aiParams,updateAlways )<PRE></PRE></DIVRE></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">int firstTable </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Properties table. </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">bool parseMovementAbility </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">True to parse movement ability, false otherwise. </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AIObjectParams& aiParams </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI parameters. </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">bool& updateAlways </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">. </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__PlayCommunication@IFunctionHandler__@ScriptHandle@char_@char_@float">
<DIV class="Element5">PlayCommunication</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.PlayCommunication(entityId, commName, channelName[, targetId] [, targetPos])<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Plays communication on the AI agent.</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">ScriptHandle entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">const char* commName </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">The name of the communication to play </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">const char* channelName </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">The name of the channel where the communication will play </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__PlayReadabilityFromSet@IFunctionHandler__">
<DIV class="Element5">PlayReadabilityFromSet</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.PlayReadabilityFromSet( sReadabilitySetName, entity, bStep == false )<PRE></PRE></DIVRE></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entity </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">optional </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">bStep </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">optional </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">Return </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">0 if failed to start readability, otherwise play session id (or 1 if no entity was specified) </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__PlayReadabilityNextStep@IFunctionHandler__">
<DIV class="Element5">PlayReadabilityNextStep</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.PlayReadabilityFromSet( nSessionId )<PRE></PRE></DIVRE></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">Return </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">true if succeeded and false otherwise </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__PlayReadabilitySound@IFunctionHandler__">
<DIV class="Element5">PlayReadabilitySound</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.PlayReadabilitySound(entityId, soundName)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Plays readability sound on the AI agent. This call does not do any filtering like playing readability using signals.</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">soundName </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">the name of the readability sound signal to play stopPreviousSounds (Optional) - TRUE if any currently playing readability should be stopped in favor of this one responseDelayMin (Optional) - Minimum (or exact, if no maximum) delay for the Response readability to play repsonseDelayMax (Optional) - Maximum delay for the Response readability to play </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__ProcessBalancedDamage@IFunctionHandler__">
<DIV class="Element5">ProcessBalancedDamage</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.ProcessBalancedDamage(pShooterEntity, pTargetEntity, damage, damageType)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Processes balanced damage.</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">pShooterEntity </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Shooter ID. </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">pTargetEntity </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Target ID. </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">damage </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Hit damage. </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">damageType </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Hit damage type. </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__PushGoal@IFunctionHandler__">
<DIV class="Element5">PushGoal</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.PushGoal(string szPipeName, string goalName, int blocking [,{params}] )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Used for warnings about data/script errors</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">szPipeName </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">goal pipe name </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">szGoalName </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">goal name - see AI Manual for a complete list of goals </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">blocking </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">used to mark the goal as blocking (goal pipe execution will stop here until the goal has finished) 0: not blocking, 1: blocking (optional) params - set of parameters depending on the goal selected; see the AI Manual for a complete list of the parameters for each goal </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__PushLabel@IFunctionHandler__">
<DIV class="Element5">PushLabel</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.PushLabel(string szPipeName, string szLabelName)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Used in combination with "branch" goal operation to identify jump destination</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">szPipeName </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">goalpipe name </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">szLabelName </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">label name </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__RayWorldIntersectionWrapper@Vec3@Vec3@int@unsigned_int@ray_hit__@int@IPhysicalEntity___@int@void__@int@int">
<DIV class="Element5">CScriptBind_AI::RayWorldIntersectionWrapper Method</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1"><STRONG><FONT color="#871f78" style="FONT-FAMILY: ; COLOR: ">int</FONT></STRONG> <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">RayWorldIntersectionWrapper</FONT></STRONG>(Vec3 <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">org</FONT></STRONG>, Vec3 <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">dir</FONT></STRONG>, <STRONG><FONT color="#871f78" style="FONT-FAMILY: ; COLOR: ">int</FONT></STRONG> <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">objtypes</FONT></STRONG>, <STRONG><FONT color="#871f78" style="FONT-FAMILY: ; COLOR: ">unsigned</FONT></STRONG> <STRONG><FONT color="#871f78" style="FONT-FAMILY: ; COLOR: ">int</FONT></STRONG> <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">flags</FONT></STRONG>, ray_hit * <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">hits</FONT></STRONG>, <STRONG><FONT color="#871f78" style="FONT-FAMILY: ; COLOR: ">int</FONT></STRONG> <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">nMaxHits</FONT></STRONG>, IPhysicalEntity ** <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">pSkipEnts</FONT></STRONG> = 0, <STRONG><FONT color="#871f78" style="FONT-FAMILY: ; COLOR: ">int</FONT></STRONG> <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">nSkipEnts</FONT></STRONG> = 0, <STRONG><FONT color="#871f78" style="FONT-FAMILY: ; COLOR: ">void</FONT></STRONG> * <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">pForeignData</FONT></STRONG> = 0, <STRONG><FONT color="#871f78" style="FONT-FAMILY: ; COLOR: ">int</FONT></STRONG> <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">iForeignData</FONT></STRONG> = 0, <STRONG><FONT color="#871f78" style="FONT-FAMILY: ; COLOR: ">int</FONT></STRONG> <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">iCaller</FONT></STRONG> = 1);<PRE></PRE></DIVRE></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__RecComment@IFunctionHandler__">
<DIV class="Element5">RecComment</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.RecComment(string szMessage )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Record comment with AIRecorder.</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">szMessage </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">message line to be displayed in recorder view </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__RegisterDamageRegion@IFunctionHandler__">
<DIV class="Element5">CScriptBind_AI::RegisterDamageRegion Method</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.RegisterDamageRegion(entityId, radius)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Register a spherical region that causes damage (so should be avoided in pathfinding). Owner entity position is used as region center. Can be called multiple times, will just move update region position</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247"></DIV>
<UL class="Element630">
<LI class="Element600">entity id.</LI></UL>
<P class="Element247"> </P></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">radius </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">If radius <= 0 then the region is disabled </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__RegisterForReadabilitySet@IFunctionHandler__">
<DIV class="Element5">RegisterForReadabilitySet</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.RegisterForReadabilitySet( sReadabilitySetName, entity )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Cooperative Readability System ///////////////////////////////////////////////////////////////////////////////////////////////////////  </P>
<P class="Element10"> </P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__RegisterInterestedActor@IFunctionHandler_@ScriptHandle@float@float">
<DIV class="Element5">RegisterInterestingEntity</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.RegisterInterestedActor(entityId, baseInterest, category, aiAction)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Registers the interested actor with the interest system Any errors go to error log</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">ScriptHandle entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">true - if a valid update was performed nil - if not (Interest system is disabled, parameters not valid, etc)</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__RegisterInterestingEntity@IFunctionHandler_@ScriptHandle@float@float@char_">
<DIV class="Element5">RegisterInterestingEntity</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.RegisterInterestingEntity(entityId, baseInterest, category, aiAction)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Registers the entity with the interest system Any errors go to error log</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">ScriptHandle entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">true - if a valid update was performed nil - if not (Interest system is disabled, parameters not valid, etc)</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__RegisterTacticalPointQuery@IFunctionHandler__">
<DIV class="Element5">RegisterTacticalPointQuery</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.RegisterTacticalPointQuery( querySpecTable )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Get a query ID for the given tactical point query</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">querySpecTable </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">table specifying the query (a mini-language - see Tactical Point System docs elsewhere) </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">> 0 - If the query was parsed successfully 0 - Otherwise</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__RegisterTargetTrack@IFunctionHandler__">
<DIV class="Element5">RegisterTargetTrack</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.RegisterTargetTrack(entityId, configuration, targetLimit, classThreat)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Registers the AI object to use the given target track configuration for target selection</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">configuration </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Target stimulus configuration to use </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">targetLimit </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Number of agents who can target the AI at any given time (0 for infinite) </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">classThreat </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">(Optional) Initial class threat value for the user </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">TRUE if registration was successful. Note that this does nothing if 'ai_TargetTracking' is not set to '2'</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__ReloadBehaviorTreeProfile@IFunctionHandler__">
<DIV class="Element5">ReloadBehaviorTreeProfile</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.ReloadBehaviorTreeProfile( entity )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Reloads given AIActor's behavior tree to its initial state</P></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">true/false if tree was reset</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__RequestAttack@IFunctionHandler__">
<DIV class="Element5">RequestAttack</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.RequestAttack(entityId,unitProperties, attackTypeList [,duration])<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">in a group with leader, the entity requests for a group attack behavior against the enemy The Cleader later will possibly create an attack leader action (CLeaderAction_Attack_*)</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id which group/leader is determined </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">unitProperties </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">binary mask of unit properties type for which the attack is requested (in the form of UPR_* + UPR* i.e. UPR_COMBAT_GROUND + UPR_COMBAT_FLIGHT) see IAgent.h for definition of unit properties UPR_* </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">attackTypeList </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">a lua table which contains the list of preferred attack strategies (Leader action subtypes), sorted by priority (most preferred first) the list must be in the format {LAS_*, LAS_*,..} i.e. (LAS_ATTACK_ROW,LAS_ATTACK_FLANK} means that first an Attack_row action will be tried, then an attack_flank if the first ends/fails. see IAgent.h for definition of LeaderActionSubtype (LAS_*) action types </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">duration </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">(optional) max duration in sec (default = 0) </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__ResetAgentLookAtPos@IFunctionHandler__">
<DIV class="Element5">ResetAgentLookAtPos</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.ResetAgentLookAtPos(entityId)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Makes the entityId resets a previous call to AgentLookAtPos()</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id. </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__ResetAgentState@IFunctionHandler__@ScriptHandle@char__">
<DIV class="Element5">ResetAgentState</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.ResetAgentState(entityId,stateLabel)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Resets a particular aspect of the agent's state, such as "lean" Intended to keep these hacky concepts together.</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">ScriptHandle entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">const char * stateLabel </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">a string describing the state that must be reset to default </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">nil</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__ResetParameters@IFunctionHandler__">
<DIV class="Element5">ResetParameters</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.ResetParameters(entityId, PropertiesTable, PropertiesInstanceTable)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Resets all the AI parameters</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">entity id </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">PropertiesTable </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Lua table containing the entity properties like groupid, sightrange, sound range etc (editable in editor, usually defined as "Properties") </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">PropertiesInstanceTable </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">another properties table, same as PropertiesTable (editable in editor, usually defined as "PropertiesInstance") </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__ScaleFormation@IFunctionHandler__">
<DIV class="Element5">ScaleFormation</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.ScaleFormation(entityId,scale )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">changes the scale factor of the given entity's formation (if there is)</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">entity id of which group the formation is scaled </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">scale </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">scale factor </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">true if the formation scaling was successful</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SendBTGlobalSignal@IFunctionHandler__">
<DIV class="Element5">SendBTGlobalSignal</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SendBTGlobalSignal( signal, data )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Send a signal to the BT global activation conditions</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">signal </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Signal to send </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">data </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Signal extra data </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SetAlarmed@IFunctionHandler__">
<DIV class="Element5">SetAlarmed</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SetAlarmed( entityId )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">This function sets the entity to be "perception alarmed"</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SetAssesmentMultiplier@IFunctionHandler__">
<DIV class="Element5">SetAssesmentMultiplier</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SetAssesmentMultiplier(AIObjectType, float multiplier)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">set the assesment multiplier factor for the given AIObject type</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">AIObjectType </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AIObject type; see ScriptBindAI.cpp for a complete list of AIObject types available </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">multiplier </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">assesment multiplication factor </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SetAttentiontarget@IFunctionHandler_">
<DIV class="Element5">SetAttentiontarget</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SetAttentiontarget(entityId, targetId)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Set a new attention target</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SetBeaconPosition@IFunctionHandler__">
<DIV class="Element5">SetBeaconPosition</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SetBeaconPosition(entityId | string AIObjectName, pos)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Set the beacon's position for the given entity/object's group</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">pos </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">beacon position vector {x,y,z} </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SetBehaviorTreeProfile@IFunctionHandler__">
<DIV class="Element5">SetBehaviorTreeProfile</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SetBehaviorTreeProfile( entity, profile )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">retrieves given AIActor current behavior's black board (a lua table)</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">profile </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Name of BT </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">true/false if profile was set</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SetBehaviorVariable@IFunctionHandler__@ScriptHandle@char_@bool">
<DIV class="Element5">SetBehaviorTreeProfile</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SetBehaviorVariable( entity, variableName, value )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Sets a behavior variable for the specified actor</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SetCharacter@IFunctionHandler__">
<DIV class="Element5">SetCharacter</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SetCharacter(entityId, newCharater)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Sets the AI character of the entity.</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">newCharacter </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">name of the new character to set. </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SetCoordinationInput@IFunctionHandler_@ScriptHandle@char_">
<DIV class="Element5">SetCoordinationInput</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SetCoordinationInput( coordinationID, name, value )<PRE></PRE></DIVRE></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SetEnableBehaviorTree@IFunctionHandler__">
<DIV class="Element5">SetEnableBehaviorTree</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SetEnableBehaviorTree( entityId, bEnable )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Enables/disables (depending on bEnable value) BehaviorTree for given entity</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AIActors's identifier </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">bEnable </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">controls if BT will be enabled or disabled as a result of this function </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SetEntitySpeedRange@IFunctionHandler__">
<DIV class="Element5">SetEntitySpeedRange</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SetEntitySpeedRange( userEntityId, urgency, defaultSpeed, minSpeed, maxSpeed, stance = all)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">This function allows the user to override the entity's speed range for the given urgency</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">usedEntityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">entity id of the user for which its last used smart object is needed </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">urgency </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">integer value specifying the movement urgency (see AgentMovementSpeeds::EAgentMovementUrgency) </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">defaultSpeed </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">floating point value specifying the default speed </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">minSpeed </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">floating point value specifying the min speed </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">maxSpeed </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">floating point value specifying the max speed </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">stance </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247"></DIV>
<UL class="Element630">
<LI class="Element600">parameter specifying the stance for which the range is set. default is all (see AgentMovementSpeeds::EAgentMovementStance)</LI></UL>
<P class="Element247"> </P></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">true if the operation was successful and false otherwise</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SetEntityTacticGroupId@IFunctionHandler__">
<DIV class="Element5">SetEntityTacticGroupId</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SetEntityTacticGroupId( entity, groupId )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Sets which tactic group Id an entity belongs to</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">groupId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">The Tactic group Id to be assigned </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SetExtraPriority@IFunctionHandler__">
<DIV class="Element5">SetExtraPriority</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SetExtraPriority(enemyEntityId, float increment) AI.GetExtraPriority(enemyEntityId)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">get/set a extra priority value to the entity which is given by enemyEntityId</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">enemyEntityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id float increment - value to add to the target's priority </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SetFireMode@IFunctionHandler__">
<DIV class="Element5">SetFireMode</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SetFireMode(entityId,mode)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">immediately sets firemode</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">firemode </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">new firemode </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SetFormationAngleThreshold@IFunctionHandler__">
<DIV class="Element5">SetFormationAngleThreshold</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SetFormationAngleThreshold(entityId, fAngleThreshold )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Sets the Relative position inside the formation</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">fAngleThreshold </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">New Leader orientation angle threshold in degrees to recal position </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SetFormationLookingPoint@IFunctionHandler__">
<DIV class="Element5">SetFormationLookingPoint</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SetFormationLookingPoint(entityId, v3RelativePosition )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Sets the Relative looking point position inside the formation</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">v3RelativePosition </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Table with format {x,y,z} storing the new relative looking point </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SetFormationPosition@IFunctionHandler__">
<DIV class="Element5">SetFormationPosition</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SetFormationPosition(entityId, v2RelativePosition )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Sets the Relative position inside the formation</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">v2RelativePosition </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Table with format {x,y} storing the new relative position </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SetFormationUpdate@IFunctionHandler__">
<DIV class="Element5">SetFormationUpdate</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SetFormationUpdate(entityId,update )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">changes the update flag of the given entity's formation (if there is) - the formation is no more updated if the flag is false</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">entity id of which group the formation is scaled </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">update </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">update flag (true/false) </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">true if the formation update setting was successful</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SetFormationUpdateSight@IFunctionHandler__">
<DIV class="Element5">SetFormationUpdateSight</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SetFormationUpdateSight(entityId, range, minTime, maxTime )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">sets a random angle rotation for the given entity's formation sight directions</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">entity id owner of the formation </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">range </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">angle (0,360) of rotation around the default sight direction minTime (optional) - minimum timespan for changing the direction (default = 2) maxTime (optional) - minimum timespan for changing the direction (default = minTime) </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SetIgnorant@IFunctionHandler__">
<DIV class="Element5">SetIgnorant</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SetIgnorant(entityId, int ignorant)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">makes an AI ignore system signals, visual stimuli and sound stimuli</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">ignorant </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">0: not ignorant, 1: ignorant </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SetInCover@IFunctionHandler_">
<DIV class="Element5">SetInCover</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SetInCover(entityId, inCover)<PRE></PRE></DIVRE></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">inCover </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">if the AI should be set to be in cover or not </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SetLeader@IFunctionHandler__">
<DIV class="Element5">SetLeader</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SetLeader(entityID )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Set the given entity as Leader (associating a CLeader object to it and creating it if it doesn't exist) Only one leader can be set per group</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityID </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">entity (id) of which to which we want to associate a leader class </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">true if the leader creation/association has been successful</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SetMemoryFireType@IFunctionHandler__">
<DIV class="Element5">SetMemoryFireType</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SetMemoryFireType(entityId,type)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Sets how the puppet handles firing at its memory target</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">type </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Memory fire type (see EMemoryFireType) </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SetPathAttributeToFollow@IFunctionHandler__">
<DIV class="Element5">SetPathToFollowBySpline</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SetPathAttributeToFollow(entityId, flg)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Set the attribute of the path to be used in 'followpath' goal operation. entityId - AI's entity id</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SetPathToFollow@IFunctionHandler__">
<DIV class="Element5">SetPathToFollow</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SetPathToFollow(entityId, pathName)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Set the name of the path to be used in 'followpath' goal operation. entityId - AI's entity id pathName - (string) name of the path to set to be followed.</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SetPFBlockerRadius@IFunctionHandler__">
<DIV class="Element5">SetPFBlockerRadius</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SetPFBlocker(entityId, blocker, radius)<PRE></PRE></DIVRE></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="!!OVERLOADED_SetPFProperties_CScriptBind_AI">
<DIV class="Element5">SetPFProperties Method</DIV>
<DIV class="Element58"><A name="53756D6D617279"></A>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">This is the overview for the SetPFProperties method overload.</P></DIV></DIV><A name="4F7665726C6F6164204C697374"></A>
<DIV class="Element14">Overload List</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element63">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table2">
<TBODY>
<TR>
<TD class="Element65" valign="top" width="40%">
<DIV class="Element66">Method </DIV></TD>
<TD class="Element65" valign="top" width="60%">
<DIV class="Element66">Description </DIV></TD></TR>
<TR>
<TD class="Element67" valign="top" width="40%">
<DIV class="Element68"><A href="http://confluence/#CScriptBind_AI__SetPFProperties@AgentMovementAbility_@EAIPathType@const" mce_href="#CScriptBind_AI__SetPFProperties@AgentMovementAbility_@EAIPathType@const">CScriptBind_AI::SetPFProperties (AgentMovementAbility&, EAIPathType)</A> </DIV></TD>
<TD class="Element67" valign="top" width="60%">
<DIV class="Element68"> </DIV></TD></TR>
<TR>
<TD class="Element67" valign="top" width="40%">
<DIV class="Element68"><A href="http://confluence/#CScriptBind_AI__SetPFProperties@AgentMovementAbility_@string_@const" mce_href="#CScriptBind_AI__SetPFProperties@AgentMovementAbility_@string_@const">CScriptBind_AI::SetPFProperties (AgentMovementAbility&, string&)</A> </DIV></TD>
<TD class="Element67" valign="top" width="60%">
<DIV class="Element68"> </DIV></TD></TR>
<TR>
<TD class="Element67" valign="top" width="40%">
<DIV class="Element68"><A href="http://confluence/#CScriptBind_AI__SetPFProperties@IFunctionHandler__" mce_href="#CScriptBind_AI__SetPFProperties@IFunctionHandler__">CScriptBind_AI::SetPFProperties (IFunctionHandler *)</A> </DIV></TD>
<TD class="Element67" valign="top" width="60%">
<DIV class="Element68">sets agent's pathfinder properties, (normal, road, cover, ....) </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SetPlayerSpeciesThreatMultiplier@IFunctionHandler__">
<DIV class="Element5">SetPlayerSpeciesThreatMultiplier</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SetPlayerSpeciesThreatMultiplier(float multiplier)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">set the threat multiplier factor for the player species (if 0, species is not hostile to any other)</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">multiplier </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Threat multiplication factor </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SetPointListToFollow@IFunctionHandler__">
<DIV class="Element5">SetPointListToFollow</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SetPointListToFollow(entityId, pointlist, howmanypoints, bspline, navtype)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Set a point list for followpath goal op entityId - AI's entity id pointList should be like below local vectors = { { x = 0.0, y = 0.0, z = 0.0 }, -- vectors[1].(x,y,z) { x = 0.0, y = 0.0, z = 0.0 }, -- vectors[2].(x,y,z) { x = 0.0, y = 0.0, z = 0.0 }, -- vectors[3].(x,y,z) { x = 0.0, y = 0.0, z = 0.0 }, -- vectors[4].(x,y,z) { x = 0.0, y = 0.0, z = 0.0 }, -- vectors[5].(x,y,z) { x = 0.0, y = 0.0, z = 0.0 }, -- vectors[6].(x,y,z) { x = 0.0, y = 0.0, z = 0.0 }, -- vectors[7].(x,y,z) { x = 0.0, y = 0.0, z = 0.0 }, -- vectors[8].(x,y,z) } if bspline == true, the line is recalcurated by spline interpolation. navtype(optional) specify a navigation type ( default = IAISystem::NAV_FLIGHT )</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SetPointListToFollow@IFunctionHandler__">
<DIV class="Element5">SetPointListToFollow</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SetPointListToFollow(entityId, pointlist, howmanypoints, bspline, navtype)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Set a point list for followpath goal op entityId - AI's entity id pointList should be like below local vectors = { { x = 0.0, y = 0.0, z = 0.0 }, -- vectors[1].(x,y,z) { x = 0.0, y = 0.0, z = 0.0 }, -- vectors[2].(x,y,z) { x = 0.0, y = 0.0, z = 0.0 }, -- vectors[3].(x,y,z) { x = 0.0, y = 0.0, z = 0.0 }, -- vectors[4].(x,y,z) { x = 0.0, y = 0.0, z = 0.0 }, -- vectors[5].(x,y,z) { x = 0.0, y = 0.0, z = 0.0 }, -- vectors[6].(x,y,z) { x = 0.0, y = 0.0, z = 0.0 }, -- vectors[7].(x,y,z) { x = 0.0, y = 0.0, z = 0.0 }, -- vectors[8].(x,y,z) } if bspline == true, the line is recalcurated by spline interpolation. navtype(optional) specify a navigation type ( default = IAISystem::NAV_FLIGHT )</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SetPosturePriority@IFunctionHandler__@ScriptHandle@char_@float">
<DIV class="Element5">CScriptBind_AI::SetPosturePriority Method</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SetPosturePriority(entityId, postureName, priority)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Set the given entity's posture priority</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SetPostures@IFunctionHandler__@ScriptHandle@SmartScriptTable">
<DIV class="Element5">CScriptBind_AI::SetPostures Method</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SetPostures(entityId, postures)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Set the given entity's postures</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SetReadyForNodeChange@IFunctionHandler__">
<DIV class="Element5">SetReadyForNodeChange</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SetReadyForNodeChange( entity )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Sets entity to be ready for a node change</P></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">nil</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SetRefPointAtDefensePos@IFunctionHandler__">
<DIV class="Element5">SetCharacter</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SetRefPointAtDefensePos(entityId, point2defend,distance)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Set the entity refpoint position in an intermediate distance between the entity's att target and the given point entityId - AI's entity id point2defend - point to defend distance - max distance to keep from the point</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SetRefPointDirection@IFunctionHandler__">
<DIV class="Element5">SetRefPointDirection</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SetRefPointDirection( Vector& vRefPointDir )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Sets the reference point's World position of an entity</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">vRefPointDir </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">(script)vector (x,y,z) value </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SetRefPointPosition@IFunctionHandler__">
<DIV class="Element5">SetRefPointPosition</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SetRefPointPosition(entity ent, Vector& vRefPointPos )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Sets the reference point's World position of an entity</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">ent </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">entity </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">vRefPointPos </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">(script)vector (x,y,z) value </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SetRefPointRadius@IFunctionHandler__">
<DIV class="Element5">SetRefPointRadius</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SetRefPointRadius(entity.id, radius)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Sets the reference point's radius.</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">the entity id of the AI. </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">radius </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">the radius to set. </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SetRefpointToAnchor@IFunctionHandler__">
<DIV class="Element5">SetRefpointToAnchor</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SetRefpointToAnchor(entityId,rangeMin,rangeMax,findType,findMethod)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Sets a reference point to an anchor.</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity ID. </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">rangeMin </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Minimum range. </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">rangeMax </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Maximum range. </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">findType </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Finding type. </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">findMethod </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Finding method. </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SetRefpointToPunchableObject@IFunctionHandler__">
<DIV class="Element5">SetRefpointToPunchableObject</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SetRefpointToPunchableObject(entityId,range)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Sets the reference point to the punchable object.</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity ID. </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">range </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Range for the punchable object. </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SetRefShapeName@IFunctionHandler__">
<DIV class="Element5">SetRefShapeName</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SetRefShapeName(entityId, name)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Sets the reference shape name.</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">the ID if the entity </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">name </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">the name of the reference shape. </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SetSmartObjectState@IFunctionHandler__">
<DIV class="Element5">SetSmartObjectState</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SetSmartObjectState( entityId, stateName )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Sets only one single smart object state replacing all other states</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">entity id </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">stateName </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">name of the new state (i.e. "Idle") </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SetSoundPerceptionDescriptor@IFunctionHandler__">
<DIV class="Element5">SetSoundPerceptionDescriptor</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SetSoundPerceptionDescriptor(entityId, soundType, descriptorTable) <PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Sets data on how perception works for the entity dealing with soundType</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">who to set the info for </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">soundType </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">what type of sound stimulus to set the info for </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">descriptorTable </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">info to be set </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">True if info was saved</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SetSpeciesThreatMultiplier@IFunctionHandler__">
<DIV class="Element5">SetSpeciesThreatMultiplier</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SetSpeciesThreatMultiplier(nSpecies, float multiplier)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">set the threat multiplier factor for the given species (if 0, species is not hostile to any other)</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">nSpecies </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">species ID. nSpecies must not be 0, use SetPlayerSpeciesThreatMultiplier(mult) if this is required. </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">multiplier </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Threat multiplication factor </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SetStance@IFunctionHandler__">
<DIV class="Element5">CScriptBind_AI::SetStance Method</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SetStance(entityId,stance)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">set the given entity's stance</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">stance </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">stance value (STANCE_*) </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SetTargetTrackClassThreat@IFunctionHandler__">
<DIV class="Element5">SetTargetTrackClassThreat</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SetTargetTrackClassThreat(entityId, classThreat)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Sets the class threat for the entity for target track usage</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">classThreat </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Class threat value for the user </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SetTempTargetPriority@IFunctionHandler__">
<DIV class="Element5">SetTempTargetPriority</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SetTempTargetPriority(entityId, priority)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Set the selection priority of the temp target over other potential targets</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">priority </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">New priority value </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">true if updated</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SetTerritoryShapeName@IFunctionHandler__">
<DIV class="Element5">SetTerritoryShapeName</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SetTerritoryShapeName(entityId, shapeName)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Sets the territory of the puppet.</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">the id of the entity </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">shapeName </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">name of the shape to set </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SetUnitProperties@IFunctionHandler__">
<DIV class="Element5">SetUnitProperties</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SetUnitProperties(entityId, unitProperties )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Sets the leader knowledge about the units combat capabilities. The leader will be found based on the group id of the entity.</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">entity id </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">unitProperties </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">binary mask of unit properties type for which the attack is requested (in the form of UPR_* + UPR* i.e. UPR_COMBAT_GROUND + UPR_COMBAT_FLIGHT) see IAgent.h for definition of unit properties UPR_* </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__Signal@IFunctionHandler__">
<DIV class="Element5">Signal</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.Signal(signalFilter,int signalType, string SignalText, senderId [, signalExtraData] )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Sends a signal to an entity or a group of entities</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">SIGNALFILTER_SENDER </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">signal is sent to the sender only (may be not the caller itself in this case) </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">SIGNALFILTER_GROUPONLY </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">signal is sent to all the AIObjects in the same sender's group, within its communication range </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">SIGNALFILTER_GROUPONLY_EXCEPT </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">signal is sent to all the AIObjects in the same sender's group, within its communication range, except the sender itself </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">SIGNALFILTER_SUPERGROUP </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">signal is sent signal is sent to all the AIObjects in the same sender's group </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">SIGNALFILTER_SPECIESONLY </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">signal is sent to all the AIObjects in the same sender's species, in his comm range </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">SIGNALFILTER_SUPERSPECIES </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">signal is sent to all AIObjects in the same sender's species </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">SIGNALFILTER_ANYONEINCOMM </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">signal is sent to all the AIObjects in sender's communication range </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">SIGNALFILTER_NEARESTGROUP </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">signal is sent to the nearest AIObject in the sender's group </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">SIGNALFILTER_NEARESTINCOMM </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">signal is sent to the nearest AIObject, in the sender's group, within sender's communication range </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">SIGNALFILTER_NEARESTINCOMM_SPECIES </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">signal is sent to the nearest AIObject, in the sender's species, within sender's communication range </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">SIGNALFILTER_HALFOFGROUP </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">signal is sent to the first half of the AI Objects in the sender's group </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">SIGNALFILTER_LEADER </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">signal is sent to the sender's group CLeader Object </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">SIGNALFILTER_LEADERENTITY </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">signal is sent to the sender's group leader AIObject (which has the CLeader associated) </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">SIGNALFILTER_READIBILITY </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">signal is sent to the sender as a readability signal and will be processed by AIHandler for readability int signalType - -1: signal is processed by all entities, even if they're disabled/sleeping 0: signal is processed by all entities which are enabled 1: signal is processed by all entities which are enabled and not sleeping 10: signal is added in the sender's signal queue even if another signal with same text is present (normally it's not) string signalText: signal text which will be processed by the receivers (in a Lua callback with the same name as the text, or directly by the CAIObject) (optional) signalExtraData: lua table which can be used to send extra data. It can contains the following values: </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">point </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">a vector in format {x,y,z} </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">point2 </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">a vector in format {x,y,z} </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">ObjectName </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">a string </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">id </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">an entity id </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">fValue </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">a float value </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">iValue </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">an integer value </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">iValue2 </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">a second integer value </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SmartObjectEvent@IFunctionHandler__">
<DIV class="Element5">SmartObjectEvent</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SmartObjectEvent( actionName, userEntityId, objectEntityId [, vRefPoint] )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Executes a smart action</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">actionName </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">smart action name </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">usedEntityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">entity id of the user who needs to execute the smart action or a nil if user is unknown </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">objectEntityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">entity id of the object on which the smart action needs to be executed or a nil if objects is unknown </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">vRefPoint </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">(optional) point to be used instead of user's attention target position </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">0 if smart object rule wasn't found or a non-zero unique id of the goal pipe inserted to execute the action</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SoundEvent@IFunctionHandler__">
<DIV class="Element5">SoundEvent</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.SoundEvent(position, radius, threat, interest, entityId) <PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Generates a sound event in the AI system with the given parameters.</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">position </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247"></DIV>
<UL class="Element630">
<LI class="Element600">the origin of the sound event</LI></UL>
<P class="Element247"> </P></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">radius </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">in which this sound event should be heard </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">threat </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">value of the sound event </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">interest </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">value of the sound event </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">of the entity who generated this sound event </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__StartCoordinationWithMembersOfGroup@IFunctionHandler_@int@char_">
<DIV class="Element5">StartCoordinationWithMembersOfGroup</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.StartCoordinationWithMembersOfGroup( groupID, coordinationName )<PRE></PRE></DIVRE></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__StopCoordination@IFunctionHandler_@ScriptHandle">
<DIV class="Element5">StopCoordination</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.StopCoordination( coordinationID )<PRE></PRE></DIVRE></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__ThrowGrenade@IFunctionHandler__">
<DIV class="Element5">ThrowGrenade</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.ThrowGrenade(entityId,grenadeType,regTargetType)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">throws a specified grenade at target type without interrupting fire mode</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">grenadeType </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Requested grenade type (see ERequestedGrenadeType) </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">regTargetType </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">Who to throw at (see AI_REG_*) </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__UnregisterFromReadabilitySet@IFunctionHandler__">
<DIV class="Element5">UnregisterFromReadabilitySet</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.UnregisterFromReadabilitySet( sReadabilitySetName, entity )<PRE></PRE></DIVRE></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__UnregisterInterestedActor@IFunctionHandler_@ScriptHandle">
<DIV class="Element5">UnregisterInterestingEntity</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.UnregisterInterestedActor(entityId)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Unregisters the entity with the interest system Any errors go to error log</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">ScriptHandle entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__UnregisterInterestingEntity@IFunctionHandler_@ScriptHandle">
<DIV class="Element5">UnregisterInterestingEntity</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.UnregisterInterestingEntity(entityId)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Unregisters the entity with the interest system Any errors go to error log</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">ScriptHandle entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__UnregisterTargetTrack@IFunctionHandler__">
<DIV class="Element5">UnregisterTargetTrack</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.UnregisterTargetTrack(entityId)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Unregisters the AI object with the target track manager</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">TRUE if unregistration was successful. Note that this does nothing if 'ai_TargetTracking' is not set to '2'</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__UpdateTempTarget@IFunctionHandler__">
<DIV class="Element5">UpdateTempTarget</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.UpdateTempTarget(entityId, vPos)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Updates the entity's temporary potential target to the given position</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">vPos </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">New position of the temporary target </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><A name="52657475726E73"></A>
<DIV class="Element14">Returns</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">true if updated</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__UpTargetPriority@IFunctionHandler__">
<DIV class="Element5">UpTargetPriority</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.UpTargetPriority(entityId, targetId, float increment)<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">modifies the current entity's target priority for the given target if the given target is among the entity's target list</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">AI's entity id </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">targetId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">target's entity id float increment - value to modify the target's priority </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__VisualEvent@IFunctionHandler__">
<DIV class="Element5">VisualEvent</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.VisualEvent(entityId, targetId) <PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Generates a visual event in the AI system with the given parameters.</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">entityId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">who receives the visual event </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">targetId </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">who the receiver is seeing </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__Warning@IFunctionHandler__">
<DIV class="Element5">Warning</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1">AI.Warning(string szMessage )<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Used for warnings about data/script errors</P></DIV></DIV><A name="506172616D6574657273"></A>
<DIV class="Element14">Parameters</DIV>
<DIV class="Element11">
<DIV class="Element10">
<DIV class="Element252">
<DIV class="TableDiv">
<TABLE cellspacing="0" class="Table1">
<TBODY>
<TR>
<TD class="Element240" valign="top" width="50%">
<DIV class="Element241">Parameters </DIV></TD>
<TD class="Element244" valign="top" width="50%">
<DIV class="Element245">Description </DIV></TD></TR>
<TR>
<TD class="Element242" valign="top" width="50%">
<DIV class="Element243">szMessage </DIV></TD>
<TD class="Element246" valign="top" width="50%">
<DIV class="Element247">message line to be displayed in log </DIV></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__AssignPFPropertiesToPathType@IFunctionHandler__">
<DIV class="Element5">CScriptBind_AI::AssignPFPropertiesToPathType Method (IFunctionHandler *)</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1"><STRONG><FONT color="#871f78" style="FONT-FAMILY: ; COLOR: ">int</FONT></STRONG> <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">AssignPFPropertiesToPathType</FONT></STRONG>(IFunctionHandler * <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">pH</FONT></STRONG>);<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">Assign AgentPathfindingProperties to the given path type</P></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__AssignPFPropertiesToPathType@string_@AgentPathfindingProperties_">
<DIV class="Element5">CScriptBind_AI::AssignPFPropertiesToPathType Method (string&, AgentPathfindingProperties&)</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1"><STRONG><FONT color="#871f78" style="FONT-FAMILY: ; COLOR: ">void</FONT></STRONG> <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">AssignPFPropertiesToPathType</FONT></STRONG>(<STRONG><FONT color="#871f78" style="FONT-FAMILY: ; COLOR: ">const</FONT></STRONG> string& <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">sPathType</FONT></STRONG>, AgentPathfindingProperties& <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">properties</FONT></STRONG>);<PRE></PRE></DIVRE></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SetPFProperties@AgentMovementAbility_@EAIPathType@const">
<DIV class="Element5">CScriptBind_AI::SetPFProperties Method (AgentMovementAbility&, EAIPathType)</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1"><STRONG><FONT color="#871f78" style="FONT-FAMILY: ; COLOR: ">void</FONT></STRONG> <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">SetPFProperties</FONT></STRONG>(AgentMovementAbility& <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">moveAbility</FONT></STRONG>, EAIPathType <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">nPathType</FONT></STRONG>) <STRONG><FONT color="#871f78" style="FONT-FAMILY: ; COLOR: ">const</FONT></STRONG>;<PRE></PRE></DIVRE></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SetPFProperties@AgentMovementAbility_@string_@const">
<DIV class="Element5">CScriptBind_AI::SetPFProperties Method (AgentMovementAbility&, string&)</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1"><STRONG><FONT color="#871f78" style="FONT-FAMILY: ; COLOR: ">void</FONT></STRONG> <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">SetPFProperties</FONT></STRONG>(AgentMovementAbility& <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">moveAbility</FONT></STRONG>, <STRONG><FONT color="#871f78" style="FONT-FAMILY: ; COLOR: ">const</FONT></STRONG> string& <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">sPathType</FONT></STRONG>) <STRONG><FONT color="#871f78" style="FONT-FAMILY: ; COLOR: ">const</FONT></STRONG>;<PRE></PRE></DIVRE></DIV></DIV></DIV>
<HR></HR>
<A name="CScriptBind_AI__SetPFProperties@IFunctionHandler__">
<DIV class="Element5">CScriptBind_AI::SetPFProperties Method (IFunctionHandler *)</DIV>
<DIV class="Element58"><A name="4C7561"></A>
<DIV class="Element101">
<DIV class="Element100"><DIVRE class="Element100" mce_tmp="1"><STRONG><FONT color="#871f78" style="FONT-FAMILY: ; COLOR: ">int</FONT></STRONG> <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">SetPFProperties</FONT></STRONG>(IFunctionHandler * <STRONG><FONT color="#660000" style="FONT-FAMILY: ; COLOR: ">pH</FONT></STRONG>);<PRE></PRE></DIVRE></DIV></DIV><A name="4465736372697074696F6E"></A>
<DIV class="Element14">Description</DIV>
<DIV class="Element11">
<DIV class="Element10">
<P class="Element10">sets agent's pathfinder properties, (normal, road, cover, ....)</P></DIV></DIV></DIV></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A></A>
</div>
</td>
</tr>
</table>


<HR>

        <!--
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dc="http://purl.org/dc/elements/1.1/"
         xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
         <rdf:Description
    rdf:about="http://freesdk.crydev.net/display/SDKDOC5/ScriptBind_AI"
    dc:identifier="http://freesdk.crydev.net/display/SDKDOC5/ScriptBind_AI"
    dc:title="ScriptBind_AI"
    trackback:ping="http://freesdk.crydev.net/rpc/trackback/131693"/>
</rdf:RDF>
-->

            
    
    
    


<fieldset class="hidden parameters">
    <legend>Labels parameters</legend>
    <input type="hidden" id="editLabel" value="Edit">
    <input type="hidden" id="addLabel" value="Add Labels">
    <input type="hidden" id="domainName" value="http://freesdk.crydev.net">
    <input type="hidden" id="pageId" value="131693">
    <input type="hidden" id="spaceKey" value="SDKDOC5">
</fieldset>

<div id="labels-section" class="pageSection">
    <div id="default-labels-header" class="section-header">
        <h2 id="labels-section-title" class="section-title  hidden ">Labels</h2>
            </div>

    <div class="labels-editor">
        <div id="labelsList">
                    </div>

        <span class="errorMessage error" id="errorSpan"></span>
        <form method="GET" action="" id="add-labels-form">
            <div id="labelInputSpan" class="labels-input">
                <div id="labelOperationErrorContainer" class="hidden">
                    <span class="error"><span class="errorMessage" id="labelOperationErrorMessage"></span></span>
                </div>

                <div class="caption">Enter labels to add to this page:</div>

                <input autocomplete="off" id="labelsString" name="labelsString" value="" size="40">
                <input type="submit" class="add-labels" value="Add">
                <input type="submit" class="hide-labels-editor" value="Done">
                <div id="waitImageAndStatus">
                    <img class="waiting" alt="Please wait" src="/s/1634/2/_/images/icons/wait.gif">&nbsp;
                    <span id="labelOperationStatus" class="smalltext"></span>
                </div>
                <div class="auto_complete" id="labelsAutocompleteList"></div>
                <div class="labels-tip">
                    <div id="suggestedLabelsSpan"></div>
                    Looking for a label? Just start typing.
                </div>
            </div>
        </form>
    </div>
</div>

            
            

<!--
    Root decorator: this is a layer of abstraction that Confluence doesn't need. It will be removed eventually.
-->




    
        
    
    


<fieldset class="parameters hidden">
    <input type="hidden" id="deleteCommentConfirmMessage" value="Are you sure you want to remove the comment?">
    <input type="hidden" id="collapseTooltip" value="Click to toggle the display of this comment.">
</fieldset>





<div id="comments-section" class="pageSection">
    
    
    
    
                                    </div>



            
</div>

<div class="page-metadata">
    <ul>
                        <li>
    
    <a  id="content-metadata-attachments"  href="/pages/viewpageattachments.action?pageId=131693&amp;metadataLink=true"  class="page-metadata-icon action-view-attachments"  accessKey="a"  title="Attachments: 1">
                   <span><span class="page-metadata-attachments-text">Attachments:</span><span class="page-metadata-attachments-count">1</span></span>            </a>
</li>
                <li class="page-metadata-modification-info">
                    Added by <a class="url fn" href="/display/~crytek">Crytek</a>, last edited by <a class="url fn" href="/display/~crytek">Crytek</a> on Aug 12, 2011
                                        </li>
            </ul>
      <div id="versionComment" class="noteMacro" style="display:none; padding: 5px;">
      <strong>Comment:</strong>
      <br />
  </div>

    <script>
      var show = document.getElementById('show');
      var hide = document.getElementById('hide');
      var versionComment = document.getElementById('versionComment');

      function showComment(){
        show.style.display = 'none';
        hide.style.display = 'inline';
        versionComment.style.display = 'block';
      }

      function hideComment(){
        show.style.display = 'inline';
        hide.style.display = 'none';
        versionComment.style.display = 'none';
      }

    </script>
</div>
    <br class="clear">
</div>


<div id="footer">
                                        <ul id="poweredby">
        <li class="noprint">Powered by <a href="http://www.atlassian.com/software/confluence" class="smalltext">Atlassian Confluence</a> 3.0.1, the <a href="http://www.atlassian.com/software/confluence" class="smalltext">Enterprise Wiki</a>.</li>
        <li class="print-only">Printed by Atlassian Confluence 3.0.1, the Enterprise Wiki.</li>
        <li class="noprint"><a href="http://jira.atlassian.com/secure/BrowseProject.jspa?id=10470" class="smalltext">Bug/feature request</a> &#8211;</li>
        <li class="noprint"><a href="http://www.atlassian.com/about/connected.jsp?s_kwcid=Confluence-stayintouch" class="smalltext">Atlassian news</a> &#8211;</li>
        <li class="noprint"><a href="/administrators.action">Contact administrators</a></li>
    </ul>
</div>

<a href="http://www.crydev.net"><strong><< Back To CryDev</strong></a>
</body>
</html>
